fix(测试跟踪): 用例评审关联用例切换项目时高级搜索模块加载有误

This commit is contained in:
song-cc-rock 2022-10-24 17:27:24 +08:00 committed by 刘瑞斌
parent f347fa3718
commit 81f0e7ed04
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ export default {
comps.forEach(comp => comp.init());
},
setModulesParam() {
let comps = this.optional.components.filter(c => c.key === 'moduleIds');
let comps = this.optional.components.filter(c => c.key === 'moduleIds' && c.options.type === 'POST');
comps.forEach(comp => comp.options.params = {"projectId": this.condition.projectId});
},
addFilter() {