Skip to content

Commit 27f372b

Browse files
dataeaseShuxuwei-fit2cloud
authored andcommitted
fix(Custom prompt word): Searching for a non-existent prompt word and then deleting it will cause the search content page to display abnormally
1 parent 3693950 commit 27f372b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/views/system/prompt/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ const typeChange = (val: any) => {
328328
</script>
329329

330330
<template>
331-
<div v-loading="searchLoading" class="prompt">
331+
<div class="prompt">
332332
<div class="tool-left">
333333
<div class="btn-select">
334334
<el-button
@@ -464,7 +464,7 @@ const typeChange = (val: any) => {
464464
:description="$t('datasource.relevant_content_found')"
465465
img-type="tree"
466466
/>
467-
<template v-if="!keywords && !fieldList.length">
467+
<template v-if="!oldKeywords && !fieldList.length">
468468
<EmptyBackground
469469
class="datasource-yet"
470470
:description="$t('prompt.no_prompt_words')"

0 commit comments

Comments
 (0)