From 2127170ca64a162a9b4b7f7684f8e640fd282012 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Mon, 18 Dec 2023 17:27:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3=E8=81=94=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E7=94=A8=E4=BE=8B=EF=BC=8C=E5=88=87=E6=8D=A2=E9=A1=B5?= =?UTF-8?q?=E7=A0=81=E4=BC=9A=E5=AF=BC=E8=87=B4=E9=87=8D=E5=A4=8D=E5=85=B3?= =?UTF-8?q?=E8=81=94=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1033196 --user=陈建星 【测试跟踪】github#27681,测试计划关联功能用例,页码选择50/页,切换页多次关联功能用例,会导致用例重复关联 https://www.tapd.cn/55049933/s/1444975 --- .../plan/view/comonents/functional/FunctionalRelevance.vue | 3 +++ .../view/comonents/functional/TestPlanFunctionalRelevance.vue | 1 + 2 files changed, 4 insertions(+) diff --git a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue index 2f5a6c0a52..d898d31f1e 100644 --- a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue +++ b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue @@ -287,6 +287,9 @@ export default { this.getTableData(); } }, + resetPageRefresh() { + this.pageRefresh = false; + }, pageSizeChange() { this.getTestCases() }, diff --git a/test-track/frontend/src/business/plan/view/comonents/functional/TestPlanFunctionalRelevance.vue b/test-track/frontend/src/business/plan/view/comonents/functional/TestPlanFunctionalRelevance.vue index 038eb82b4c..306d909bf9 100644 --- a/test-track/frontend/src/business/plan/view/comonents/functional/TestPlanFunctionalRelevance.vue +++ b/test-track/frontend/src/business/plan/view/comonents/functional/TestPlanFunctionalRelevance.vue @@ -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) => {