diff --git a/frontend/src/components/business/ms-case-associate/index.vue b/frontend/src/components/business/ms-case-associate/index.vue index 1a1491e531..8e4fd020a4 100644 --- a/frontend/src/components/business/ms-case-associate/index.vue +++ b/frontend/src/components/business/ms-case-associate/index.vue @@ -843,7 +843,7 @@ watch( () => activeFolder.value, () => { - if (!isAdvancedSearchMode.value) { + if (!isAdvancedSearchMode.value && innerProject.value) { searchCase(); } } diff --git a/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue b/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue index 0710051b24..33f33c5785 100644 --- a/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue +++ b/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue @@ -36,7 +36,7 @@