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();