fix: 接口测试的首页中的 “运行中的定时任务”列表无法跳转

This commit is contained in:
wenyann 2021-04-29 18:16:05 +08:00 committed by 刘瑞斌
parent 1f3f4ed11b
commit 00f5e6f1f7
1 changed files with 4 additions and 2 deletions

View File

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