From 789d21c6349e3e2f52df8769c71b9b2179b4aaca Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 25 Jul 2025 16:47:36 +0800 Subject: [PATCH] fix: bug fix --- frontend/src/views/chat/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 6d4226f9..00ad587d 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -268,6 +268,7 @@ :src="currentChatEngineType" width="16px" height="16px" + v-if="currentChatEngineType" alt="" /> @@ -440,10 +441,7 @@ function onClickHistory(chat: Chat) { } const currentChatEngineType = computed(() => { - return ( - dsTypeWithImg.find((ele) => currentChat.value.ds_type === ele.type || ele.type === 'excel') || - {} - ).img + return (dsTypeWithImg.find((ele) => currentChat.value.ds_type === ele.type) || {}).img }) function toAssistantHistory(chat: Chat) {