From 9ec595a158da4d38789747ab931256f4cd1ea6cb Mon Sep 17 00:00:00 2001 From: taojinlong Date: Tue, 1 Jun 2021 16:10:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=20=E8=87=AA=E5=8A=A8=E5=88=B7?= =?UTF-8?q?=E6=96=B0=EF=BC=885s=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/dataset/data/UpdateInfo.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/views/dataset/data/UpdateInfo.vue b/frontend/src/views/dataset/data/UpdateInfo.vue index 19033303d8..ff82b6ff96 100644 --- a/frontend/src/views/dataset/data/UpdateInfo.vue +++ b/frontend/src/views/dataset/data/UpdateInfo.vue @@ -379,6 +379,12 @@ export default { mounted() { this.calHeight() }, + created() { + this.timer = setInterval(this.listTaskLog, 5000) + }, + beforeDestroy() { + clearInterval(this.timer) + }, methods: { calHeight() { const that = this