fix: 接口测试-首页-场景用例数量统计-本周新增跳转错误
解决接口测试-首页-场景用例数量统计-本周新增跳转错误的错误
This commit is contained in:
parent
9e5e2edb12
commit
e8d2f8b92b
|
@ -97,6 +97,7 @@
|
||||||
renderComponent: true,
|
renderComponent: true,
|
||||||
isHide: true,
|
isHide: true,
|
||||||
activeName: 'default',
|
activeName: 'default',
|
||||||
|
redirectFlag: 'none',
|
||||||
currentModule: null,
|
currentModule: null,
|
||||||
moduleOptions: [],
|
moduleOptions: [],
|
||||||
tabs: [],
|
tabs: [],
|
||||||
|
@ -150,6 +151,15 @@
|
||||||
},
|
},
|
||||||
changeRedirectParam(redirectIDParam) {
|
changeRedirectParam(redirectIDParam) {
|
||||||
this.redirectID = redirectIDParam;
|
this.redirectID = redirectIDParam;
|
||||||
|
if(redirectIDParam!=null){
|
||||||
|
if(this.redirectFlag == "none"){
|
||||||
|
this.activeName = "default";
|
||||||
|
this.addListener();
|
||||||
|
this.redirectFlag = "redirected";
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
this.redirectFlag = "none";
|
||||||
|
}
|
||||||
},
|
},
|
||||||
addTab(tab) {
|
addTab(tab) {
|
||||||
if (!getCurrentProjectID()) {
|
if (!getCurrentProjectID()) {
|
||||||
|
|
Loading…
Reference in New Issue