From f79e98ee0a2b4ff0676241c03ba89c0540673aab Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 09 十月 2023 17:10:28 +0800 Subject: [PATCH] feat: 页面刷新后不再自动弹出任务弹窗 --- src/components/TaskControlModal.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/TaskControlModal.vue b/src/components/TaskControlModal.vue index c5ce308..95c46be 100644 --- a/src/components/TaskControlModal.vue +++ b/src/components/TaskControlModal.vue @@ -363,6 +363,8 @@ getCurrentTaskProduceParams(id) { // const id = this.currentTaskData?.Procedure?.ID if (id) { + this.currentProcessParams = [] + this.getProcessParamsErrMsg = "" startTask({id}).then((res) => { if (res.code === 200) { this.currentProcessParams = res.data.Params ?? [] @@ -421,7 +423,7 @@ if (this.currentTaskData?.Procedure?.ID && this.currentTaskData?.Procedure?.Status === 1) { this.num = 0; this.showBtn = 1; - this.show = true; + // this.show = true; } else { this.show = false; } -- Gitblit v1.8.0