From 00f5e6f1f7188222558c814bc04bb712cdee0c8e Mon Sep 17 00:00:00 2001 From: wenyann Date: Thu, 29 Apr 2021 18:16:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=9A=84=E9=A6=96=E9=A1=B5=E4=B8=AD=E7=9A=84=20=E2=80=9C?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E4=B8=AD=E7=9A=84=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E2=80=9D=E5=88=97=E8=A1=A8=E6=97=A0=E6=B3=95=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/homepage/components/RunningTaskList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/homepage/components/RunningTaskList.vue b/frontend/src/business/components/api/homepage/components/RunningTaskList.vue index 2c98024605..134c6c1163 100644 --- a/frontend/src/business/components/api/homepage/components/RunningTaskList.vue +++ b/frontend/src/business/components/api/homepage/components/RunningTaskList.vue @@ -117,8 +117,10 @@ export default { redirect(param){ if(param.taskGroup === 'TEST_PLAN_TEST'){ this.$emit('redirectPage','testPlanEdit','', param.scenarioId); - }else if(param.taskGroup === 'API_SCENARIO_TEST') { - this.$emit('redirectPage','scenario','scenario', 'edit:'+param.scenarioId); + }else if (param.taskGroup === 'API_SCENARIO_TEST') { + this.$emit('redirectPage', 'scenario', 'scenario', 'edit:' + param.scenarioId); + } else if (param.taskGroup === 'SWAGGER_IMPORT') { + this.$emit('redirectPage', 'api', 'api', 'edit:' + param.scenarioId); } } },