From 756e1eda8fdf73f0e32c7f47ff844ed626bd928e Mon Sep 17 00:00:00 2001 From: "446052889@qq.com" <446052889@qq.com> Date: Fri, 28 Oct 2022 10:28:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E6=A8=A1=E7=AE=A1=E7=90=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=B1=9E=E6=80=A7=E6=97=B6=E6=98=BE=E7=A4=BA=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E6=9D=A1=EF=BC=8C=E7=A9=BA=E6=8C=87=E9=92=88=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/method/MethodObject.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal/src/views/method/MethodObject.vue b/com.actionsoft.apps.coe.pal/src/views/method/MethodObject.vue index 33983a6..16e3898 100644 --- a/com.actionsoft.apps.coe.pal/src/views/method/MethodObject.vue +++ b/com.actionsoft.apps.coe.pal/src/views/method/MethodObject.vue @@ -397,6 +397,7 @@ export default { }) }, closeProgressBarDlg() { + this.clearInterval(); this.progressBarDlg.visible = false; this.progressBarDlg.percentage = 0; this.progressBarDlg.interval = null; @@ -485,7 +486,9 @@ export default { }; awsuiAxios.post(data).then(function (ro) { if (ro.result == 'ok') { - if (parseInt(ro.data.timer) <= that.progressBarDlg.timer) {// axios异步,以时间戳对比获取最新日至内容 + if (ro.data.timer == '') { + that.clearInterval(); + } else if (parseInt(ro.data.timer) <= that.progressBarDlg.timer) {// axios异步,以时间戳对比获取最新日至内容 // 设置结果 that.progressBarDlg.totalCount = ro.data.totalCount; that.progressBarDlg.okCount = ro.data.okCount;