ant-design-vue/examples/App.vue

40 lines
706 B
Vue
Raw Normal View History

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