style: close弹窗 清除所有Notification
This commit is contained in:
@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user