|
|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { onBeforeUnmount } from 'vue';
|
|
|
|
|
|
|
|
|
|
import { useVbenModal } from '@vben/common-ui';
|
|
|
|
|
|
|
|
|
|
import { Description, useDescription } from '#/components/description';
|
|
|
|
|
@ -19,6 +21,8 @@ const [BasicModal, modalApi] = useVbenModal({
|
|
|
|
|
setDescProps({ data }, true);
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
onBeforeUnmount(() => console.log('before unmount'));
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
|