fix: bug fix

This commit is contained in:
dataeaseShu
2025-07-24 14:09:10 +08:00
parent 60d134a1ee
commit e327ed1eb3
@@ -73,7 +73,9 @@ const _chatList = computed({
const computedChatList = computed<Array<ChatInfo>>(() => {
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
}