From 79baa59fcf29d5931697a4dedf4b0e16e59ede58 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 10 Jun 2022 11:57:23 +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=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=EF=BC=8C=E7=AD=9B=E9=80=89=E7=89=88=E6=9C=AC=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E5=88=87=E6=8D=A2=E9=A1=B9=E7=9B=AE=EF=BC=8C=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E4=B8=8D=E5=88=B0=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013939 --user=陈建星 【测试跟踪】测试计划关联功能测试用例,选中版本后再切换其他项目,用例没有显示 https://www.tapd.cn/55049933/s/1178371 --- .../components/api/automation/scenario/api/RelevanceApiList.vue | 1 + .../track/plan/view/comonents/api/RelevanceScenarioList.vue | 1 + .../track/plan/view/comonents/functional/FunctionalRelevance.vue | 1 + .../track/plan/view/comonents/load/TestCaseLoadRelevance.vue | 1 + 4 files changed, 4 insertions(+) diff --git a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue index 8aa6c3c53e..e29b925604 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue @@ -114,6 +114,7 @@ export default { this.initTable(); }, projectId() { + this.condition.versionId = null; this.initTable(); }, currentVersion() { diff --git a/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue b/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue index 4b8fdee0e3..59287b5c8f 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue @@ -177,6 +177,7 @@ export default { this.search(); }, projectId() { + this.condition.versionId = null; this.search(); }, }, diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue index 813e800533..e48a59130c 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalRelevance.vue @@ -185,6 +185,7 @@ export default { }, projectId() { this.page.condition.projectId = this.projectId; + this.page.condition.versionId = null; this.getProjectNode(); this.getTestCases(); this.getCustomNum(); diff --git a/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue index 0d763132fe..f3e8f4ed1c 100644 --- a/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/load/TestCaseLoadRelevance.vue @@ -186,6 +186,7 @@ export default { this.$refs.baseRelevance.open(); }, setProject(projectId) { + this.condition.versionId = null; this.projectId = projectId; this.condition.projectId = this.projectId; this.getProjectNode();