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" >