fix(测试跟踪): 用例评审关联用例切换项目时高级搜索模块加载有误
This commit is contained in:
parent
f347fa3718
commit
81f0e7ed04
|
@ -191,7 +191,7 @@ export default {
|
||||||
comps.forEach(comp => comp.init());
|
comps.forEach(comp => comp.init());
|
||||||
},
|
},
|
||||||
setModulesParam() {
|
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});
|
comps.forEach(comp => comp.options.params = {"projectId": this.condition.projectId});
|
||||||
},
|
},
|
||||||
addFilter() {
|
addFilter() {
|
||||||
|
|
Loading…
Reference in New Issue