diff --git a/core/frontend/src/components/canvas/utils/utils.js b/core/frontend/src/components/canvas/utils/utils.js index 92fdb249de..935c714c4f 100644 --- a/core/frontend/src/components/canvas/utils/utils.js +++ b/core/frontend/src/components/canvas/utils/utils.js @@ -15,7 +15,6 @@ import Vue from 'vue' import { exportDetails, innerExportDetails } from '@/api/panel/panel' import { getLinkToken, getToken } from '@/utils/auth' import { toPngUrl } from '@/utils/CanvasUtils' -import {Button} from "element-ui"; export function deepCopy(target) { if (typeof target === 'object' && target !== null) { diff --git a/core/frontend/src/views/dataset/exportExcel/index.vue b/core/frontend/src/views/dataset/exportExcel/index.vue index f28cd0ebec..075ce6f4cc 100644 --- a/core/frontend/src/views/dataset/exportExcel/index.vue +++ b/core/frontend/src/views/dataset/exportExcel/index.vue @@ -33,7 +33,9 @@ {{ scope.row.fileName }} + + @@ -115,6 +117,12 @@ export default { methods: { init() { this.drawer = true; + this.handleClick() + this.timer = setInterval(() => { + if(this.activeName === 'IN_PROGRESS'){ + this.handleClick() + } + }, 5000); }, handleClick() { request({ @@ -226,6 +234,7 @@ export default { handleClose() { this.drawer = false; + clearInterval(this.timer); }, }, };