fix(测试跟踪): 测试计划关联功能用例页面,关联后没有刷新模块树
--bug=1028161 --user=陈建星 【测试跟踪】测试计划-功能测试用例-关联测试用例-左侧模块树未实时变化 https://www.tapd.cn/55049933/s/1398046
This commit is contained in:
parent
fe236c74b8
commit
7045bc0ef3
|
@ -315,7 +315,7 @@ export default {
|
|||
}
|
||||
this.getProjectNodeForce(projectId, condition);
|
||||
},
|
||||
getProjectNodeForce(projectId, condition) {
|
||||
getProjectNodeForce(projectId = this.projectId, condition = this.page.condition) {
|
||||
const index = this.projects.findIndex(project => project.id === projectId);
|
||||
if (index !== -1) {
|
||||
this.projectName = this.projects[index].name;
|
||||
|
|
|
@ -65,6 +65,7 @@ export default {
|
|||
this.$success(this.$t("plan.relevance_case_success"));
|
||||
vueObj.setSelectCounts(0);
|
||||
this.$emit('refresh');
|
||||
this.$refs.functionalRelevance.getProjectNodeForce();
|
||||
}).catch((error) => {
|
||||
vueObj.isSaving = false;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue