style: close弹窗 清除所有Notification
This commit is contained in:
@ -19,6 +19,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { Notification } from '@arco-design/web-vue';
|
||||||
|
|
||||||
import ExportTask from './components/export-task';
|
import ExportTask from './components/export-task';
|
||||||
import ImportTask from './components/import-task';
|
import ImportTask from './components/import-task';
|
||||||
|
|
||||||
@ -52,7 +54,8 @@ const onClose = () => {
|
|||||||
activeTab.value = '0';
|
activeTab.value = '0';
|
||||||
|
|
||||||
clearTimer();
|
clearTimer();
|
||||||
componentRef.value?.unloadComp?.()
|
componentRef.value?.unloadComp?.();
|
||||||
|
Notification.clear();
|
||||||
visible.value = false;
|
visible.value = false;
|
||||||
};
|
};
|
||||||
const clearTimer = () => {
|
const clearTimer = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user