fix(接口测试): 修复接口测试首页跳转场景有时不加载模块树的问题

This commit is contained in:
Jianguo-Genius 2024-12-16 15:40:43 +08:00 committed by song-cc-rock
parent 17fc3df43e
commit f5ffd2fffd
1 changed files with 3 additions and 4 deletions

View File

@ -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()
} }
}, },