fix(接口测试): 修复Jenkins插件执行的报告在任务中心跳转异常问题

This commit is contained in:
fit2-zhao 2022-10-26 21:02:09 +08:00 committed by fit2-zhao
parent e868f143be
commit 67021d5302
1 changed files with 3 additions and 7 deletions

View File

@ -153,14 +153,10 @@ export default {
},
redirect() {
let resourceId = this.scenarioId;
if (this.isPlan) {
getApiScenarioIdByPlanScenarioId(this.scenarioId).then((res) => {
resourceId = res.data;
this.showDetails(resourceId);
});
} else {
this.showDetails(resourceId);
}
},
showDetails(resourceId) {
let uuid = getUUID().substring(1, 5);