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