fix(测试跟踪): 测试计划关联功能用例,切换页码会导致重复关联用例

--bug=1033196 --user=陈建星 【测试跟踪】github#27681,测试计划关联功能用例,页码选择50/页,切换页多次关联功能用例,会导致用例重复关联 https://www.tapd.cn/55049933/s/1444975
This commit is contained in:
AgAngle 2023-12-18 17:27:32 +08:00 committed by 刘瑞斌
parent 9e9795a59c
commit 2127170ca6
2 changed files with 4 additions and 0 deletions

View File

@ -287,6 +287,9 @@ export default {
this.getTableData();
}
},
resetPageRefresh() {
this.pageRefresh = false;
},
pageSizeChange() {
this.getTestCases()
},

View File

@ -64,6 +64,7 @@ export default {
vueObj.isSaving = false;
this.$success(this.$t("plan.relevance_case_success"));
vueObj.setSelectCounts(0);
this.$refs.functionalRelevance.resetPageRefresh();
this.$emit('refresh');
this.$refs.functionalRelevance.getProjectNodeForce();
}).catch((error) => {