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