fix(测试跟踪): 评审&&计划编辑时所属模块有误

--bug=1033829 --user=宋昌昌 【用例评审】编辑用例评审&测试计划,所属模块显示的是未规划模块 https://www.tapd.cn/55049933/s/1447144
This commit is contained in:
song-cc-rock 2023-12-21 18:36:07 +08:00 committed by Craftsman
parent 1b6ee975ab
commit ee922d7fd9
2 changed files with 6 additions and 2 deletions

View File

@ -250,7 +250,9 @@ export default {
buildTree(node, {path: ''});
});
this.treeNodes = treeNodes;
this.setDefaultModule();
if (this.operationType === 'add') {
this.setDefaultModule();
}
});
},
setDefaultModule() {

View File

@ -211,7 +211,9 @@ export default {
buildTree(node, {path: ''});
});
this.treeNodes = treeNodes;
this.setDefaultModule();
if (this.operationType === 'save') {
this.setDefaultModule();
}
});
},
setDefaultModule() {