|
@@ -188,7 +188,7 @@ import {
|
|
|
import header_local from '../allMedia/components/header.vue';
|
|
|
import { ElMessage, ElLoading, genFileId } from 'element-plus';
|
|
|
import { Delete, Tickets, Notification } from '@element-plus/icons-vue';
|
|
|
-import { ref } from 'vue';
|
|
|
+import { ref, onBeforeUnmount } from 'vue';
|
|
|
const up = ref(null);
|
|
|
const dialogVisible = ref(false);
|
|
|
const showimport = ref(false);
|
|
@@ -210,6 +210,10 @@ const onSubmit = () => {
|
|
|
getProList();
|
|
|
};
|
|
|
|
|
|
+onBeforeUnmount(()=>{
|
|
|
+ if (t) clearInterval(t);
|
|
|
+})
|
|
|
+
|
|
|
// 轮询结果'
|
|
|
const lunxun = () => {
|
|
|
if (t) clearInterval(t);
|