fix(测试计划): 模块树未加载数据#1006453

--bug=1006453 --user=lyh 【github#5998】测试计划中第二次关联测试计划,左边的测试模块不展示了
https://www.tapd.cn/55049933/s/1044941
This commit is contained in:
shiziyuan9527 2021-09-09 10:52:59 +08:00 committed by 刘瑞斌
parent 2078ca28b5
commit 17112127e0
1 changed files with 3 additions and 0 deletions

View File

@ -166,6 +166,9 @@ export default {
if (this.$refs.table) { if (this.$refs.table) {
this.$refs.table.clear(); this.$refs.table.clear();
} }
if (this.projectId) {
this.getProjectNode(this.projectId);
}
}, },
setProject(projectId) { setProject(projectId) {
this.projectId = projectId; this.projectId = projectId;