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

This commit is contained in:
wenyann 2021-04-29 18:33:26 +08:00 committed by 刘瑞斌
parent 7a5ab7e1f4
commit 6310466539
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);
}
}
},