mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 13:39:40 +08:00
40 lines
699 B
Vue
40 lines
699 B
Vue
<template>
|
|
<div>
|
|
<demo />
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { defineComponent } from 'vue';
|
|
import demo from '../antdv-demo/docs/tree-select/demo';
|
|
// import Affix from '../components/affix';
|
|
export default defineComponent({
|
|
components: {
|
|
demo,
|
|
// Affix,
|
|
},
|
|
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;
|
|
},
|
|
},
|
|
});
|
|
</script>
|