fix(接口测试): 修复Jenkins插件执行的报告在任务中心跳转异常问题
This commit is contained in:
parent
e868f143be
commit
67021d5302
|
@ -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 {
|
||||
getApiScenarioIdByPlanScenarioId(this.scenarioId).then((res) => {
|
||||
resourceId = res.data;
|
||||
this.showDetails(resourceId);
|
||||
}
|
||||
});
|
||||
},
|
||||
showDetails(resourceId) {
|
||||
let uuid = getUUID().substring(1, 5);
|
||||
|
|
Loading…
Reference in New Issue