fix(接口定义): 修复选择模块口,首页跳转未清空模块信息的缺陷 (#17979)

--bug=1016773 --user=王孝刚 【接口测试】github#17877,接口列表 选中某个模块,切到
接口首页【未覆盖】接口,进去后【高级搜索】 带着之前选中的模块的条件,但是【高级搜索】并未显示出条件信息,导致搜其他模块接口搜不到
https://www.tapd.cn/55049933/s/1244696

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-09-19 15:07:30 +08:00 committed by GitHub
parent 1595dab562
commit 124ed6ffe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -147,6 +147,9 @@ export default {
return getCurrentProjectID();
},
},
activated() {
this.selectNodeIds = [];
},
data() {
return {
total: 0,

View File

@ -382,6 +382,7 @@ export default {
this.activeDom = 'middle';
}
}
this.selectNodeIds = [];
if (this.$route.params.dataSelectRange) {
let item = JSON.parse(JSON.stringify(this.$route.params.dataSelectRange)).param;