fix(缺陷管理): 弹出窗口不显示模块

--bug=1007287 --user=lyh 缺陷管理,弹出窗口不显示模块
https://www.tapd.cn/55049933/s/1057831
This commit is contained in:
shiziyuan9527 2021-10-22 16:36:26 +08:00 committed by shiziyuan9527
parent 218845e3ab
commit ce4415473f
1 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,6 @@ export default {
this.initTableData();
},
projectId() {
this.getProjectNode();
this.initTableData();
},
},
@ -134,6 +133,7 @@ export default {
this.condition.nodeIds = [];
}
if (this.projectId) {
this.getProjectNode();
this.condition.projectId = this.projectId;
this.condition.testCaseContainIds = Array.from(this.testCaseContainIds)
this.result = this.$post('/test/case/relate/issue/' + +this.currentPage + '/' + this.pageSize, this.condition, response => {
@ -155,10 +155,10 @@ export default {
{projectId: this.projectId}, response => {
this.treeNodes = response.data;
});
this.selectNodeIds = [];
},
open() {
this.$refs.baseRelevance.open();
this.selectNodeIds = [];
this.initTableData();
},
save() {