From 7045bc0ef31f9fac4d52b5c7f0ecf56dd9396d82 Mon Sep 17 00:00:00 2001 From: jianxing Date: Thu, 27 Jul 2023 09:59:54 +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=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=90=8E=E6=B2=A1=E6=9C=89=E5=88=B7=E6=96=B0=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E6=A0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1028161 --user=陈建星 【测试跟踪】测试计划-功能测试用例-关联测试用例-左侧模块树未实时变化 https://www.tapd.cn/55049933/s/1398046 --- .../plan/view/comonents/functional/FunctionalRelevance.vue | 2 +- .../view/comonents/functional/TestPlanFunctionalRelevance.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 a6e501ff15..32170b3e42 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 @@ -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; 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 19064904d0..038eb82b4c 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 @@ -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; });