style: close弹窗 清除所有Notification

This commit is contained in:
rd
2025-07-21 16:43:17 +08:00
parent c7f2e78642
commit 923337b025

View File

@ -19,6 +19,8 @@
</template>
<script setup>
import { Notification } from '@arco-design/web-vue';
import ExportTask from './components/export-task';
import ImportTask from './components/import-task';
@ -52,7 +54,8 @@ const onClose = () => {
activeTab.value = '0';
clearTimer();
componentRef.value?.unloadComp?.()
componentRef.value?.unloadComp?.();
Notification.clear();
visible.value = false;
};
const clearTimer = () => {