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) {