From a3a21cc5ec7f5f54364ee8bf023bfae2a366dc82 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 2 Sep 2025 10:12:14 +0800 Subject: [PATCH] fix(Embedded Management): Clearing the search results in a page prompting that there is no application --- .../src/views/dashboard/common/AddViewDashboard.vue | 1 + frontend/src/views/system/embedded/Page.vue | 9 +++++---- frontend/src/views/system/model/ModelForm.vue | 12 ++++++++++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/frontend/src/views/dashboard/common/AddViewDashboard.vue b/frontend/src/views/dashboard/common/AddViewDashboard.vue index ad70fb96..3ae3c349 100644 --- a/frontend/src/views/dashboard/common/AddViewDashboard.vue +++ b/frontend/src/views/dashboard/common/AddViewDashboard.vue @@ -234,6 +234,7 @@ defineExpose({ > ([]) const keywords = ref('') +const oldKeywords = ref('') const searchLoading = ref(false) const selectable = () => { @@ -187,6 +188,7 @@ const search = () => { }) }) .finally(() => { + oldKeywords.value = keywords.value searchLoading.value = false }) } @@ -290,7 +292,6 @@ const copyCode = (row: any, key: any = 'app_secret') => { style="width: 240px; margin-right: 12px" :placeholder="$t('dashboard.search')" clearable - @keyup.enter="search" @blur="search" >