| | |
| | | </template> --> |
| | | </BasicDrawer> |
| | | </template> |
| | | <script lang="ts"> |
| | | import { defineComponent } from 'vue'; |
| | | import { BasicDrawer } from '/@/components/Drawer'; |
| | | export default defineComponent({ |
| | | components: { BasicDrawer }, |
| | | setup() { |
| | | return { |
| | | handleOk: () => { |
| | | console.log('====================='); |
| | | console.log('ok'); |
| | | console.log('======================'); |
| | | }, |
| | | }; |
| | | }, |
| | | }); |
| | | <script lang="ts" setup> |
| | | import { BasicDrawer } from '@/components/Drawer'; |
| | | |
| | | function handleOk() { |
| | | console.log('====================='); |
| | | console.log('ok'); |
| | | console.log('======================'); |
| | | } |
| | | </script> |