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); } } },