From e327ed1eb339b63487014000943273bf668a46ef Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 24 Jul 2025 14:09:10 +0800 Subject: [PATCH] fix: bug fix --- frontend/src/views/chat/ChatListContainer.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chat/ChatListContainer.vue b/frontend/src/views/chat/ChatListContainer.vue index 5231c6dc..88fc48f0 100644 --- a/frontend/src/views/chat/ChatListContainer.vue +++ b/frontend/src/views/chat/ChatListContainer.vue @@ -73,7 +73,9 @@ const _chatList = computed({ const computedChatList = computed>(() => { if (search.value && search.value.length > 0) { - return filter(_chatList.value, (c) => includes(c.brief, search.value)) + return filter(_chatList.value, (c) => + includes(c.brief?.toLowerCase(), search.value?.toLowerCase()) + ) } else { return _chatList.value }