ant-design-vue/examples/App.vue

40 lines
705 B
Vue
Raw Normal View History

2020-03-23 11:00:24 +08:00
<template>
2020-11-23 16:39:09 +08:00
<div>
<demo />
</div>
2020-03-23 11:00:24 +08:00
</template>
2020-10-19 17:17:10 +08:00
<script>
2020-11-23 16:39:09 +08:00
import { defineComponent } from 'vue';
2021-03-16 15:39:44 +08:00
import demo from '../v2-doc/src/docs/tooltip/demo/index.vue';
2020-11-23 16:39:09 +08:00
// import Affix from '../components/affix';
export default defineComponent({
2020-10-19 17:17:10 +08:00
components: {
2020-11-23 16:39:09 +08:00
demo,
// Affix,
2020-10-19 17:17:10 +08:00
},
2020-11-23 16:39:09 +08:00
data() {
return {
visible: false,
pStyle: {
fontSize: '16px',
color: 'rgba(0,0,0,0.85)',
lineHeight: '24px',
display: 'block',
marginBottom: '16px',
},
pStyle2: {
marginBottom: '24px',
},
};
},
methods: {
showDrawer() {
this.visible = true;
},
onClose() {
this.visible = false;
},
},
});
2020-10-19 17:17:10 +08:00
</script>