From dc8f4e8fc26a1fedc520c3b57beb05daf77d48af Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 31 Aug 2021 17:40:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):?= =?UTF-8?q?=20=E6=9F=A5=E7=9C=8B=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E7=BB=93=E6=9E=9C=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E4=B8=8D=E8=87=AA=E5=8A=A8=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/business/components/task/TaskCenter.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/task/TaskCenter.vue b/frontend/src/business/components/task/TaskCenter.vue index 8ff4ffbbc7..3f7ec8a933 100644 --- a/frontend/src/business/components/task/TaskCenter.vue +++ b/frontend/src/business/components/task/TaskCenter.vue @@ -203,7 +203,7 @@ export default { }, close() { this.visible = false; - this.taskVisible = false; + // this.taskVisible = false; this.showType = ""; if (this.websocket && this.websocket.close instanceof Function) { this.websocket.close(); @@ -240,14 +240,15 @@ export default { if (status) { status = row.executionStatus.toLowerCase(); if (status === 'saved' || status === 'completed' || status === 'success' || status === 'error') { - this.taskVisible = false; switch (row.executionModule) { case "SCENARIO": + this.taskVisible = false; this.$router.push({ path: '/api/automation/report/view/' + row.id, }); break; case "PERFORMANCE": + this.taskVisible = false; this.$router.push({ path: '/performance/report/view/' + row.id, });