fix(接口测试): 修复接口测试首页跳转场景有时不加载模块树的问题
This commit is contained in:
parent
17fc3df43e
commit
f5ffd2fffd
|
@ -52,7 +52,6 @@ import {
|
||||||
delScenarioModule,
|
delScenarioModule,
|
||||||
dragScenarioModule,
|
dragScenarioModule,
|
||||||
editScenarioModule,
|
editScenarioModule,
|
||||||
getModuleByProjectId,
|
|
||||||
getModuleByRelevanceProjectId,
|
getModuleByRelevanceProjectId,
|
||||||
posScenarioModule,
|
posScenarioModule,
|
||||||
postModuleByProjectId,
|
postModuleByProjectId,
|
||||||
|
@ -150,7 +149,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if(this.$route.params && !this.$route.params.versionId) {
|
if (this.$route.params) {
|
||||||
this.list()
|
this.list()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue