fix(Custom prompt word): Searching for a non-existent prompt word and then deleting it will cause the search content page to display abnormally

This commit is contained in:
dataeaseShu
2025-09-29 17:09:12 +08:00
committed by xuwei-fit2cloud
parent 3693950662
commit 27f372beec
+2 -2
View File
@@ -328,7 +328,7 @@ const typeChange = (val: any) => {
</script>
<template>
<div v-loading="searchLoading" class="prompt">
<div class="prompt">
<div class="tool-left">
<div class="btn-select">
<el-button
@@ -464,7 +464,7 @@ const typeChange = (val: any) => {
:description="$t('datasource.relevant_content_found')"
img-type="tree"
/>
<template v-if="!keywords && !fieldList.length">
<template v-if="!oldKeywords && !fieldList.length">
<EmptyBackground
class="datasource-yet"
:description="$t('prompt.no_prompt_words')"