mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
feat: chat list page for mobile is ready
This commit is contained in:
@@ -697,13 +697,13 @@ const searchChat = function () {
|
||||
chatList.value = allChats.value
|
||||
return
|
||||
}
|
||||
const roles = [];
|
||||
const items = [];
|
||||
for (let i = 0; i < allChats.value.length; i++) {
|
||||
if (allChats.value[i].title.toLowerCase().indexOf(chatName.value.toLowerCase()) !== -1) {
|
||||
roles.push(allChats.value[i]);
|
||||
items.push(allChats.value[i]);
|
||||
}
|
||||
}
|
||||
chatList.value = roles;
|
||||
chatList.value = items;
|
||||
}
|
||||
|
||||
const updateUser = function (data) {
|
||||
|
||||
Reference in New Issue
Block a user