From a87bf0197d5b3fda72a1fc6b015dd8a82d91696c Mon Sep 17 00:00:00 2001 From: zhangyao <972858472@qq.com> Date: Fri, 30 May 2025 15:22:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=88=97=E8=A1=A8=E4=B8=80=E7=9B=B4=E5=9C=A8?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E4=B8=ADbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/mobile/ChatList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/views/mobile/ChatList.vue b/web/src/views/mobile/ChatList.vue index 30b2216b..940db699 100644 --- a/web/src/views/mobile/ChatList.vue +++ b/web/src/views/mobile/ChatList.vue @@ -170,8 +170,8 @@ checkSession().then((user) => { }) const onLoad = () => { - checkSession().then(() => { - httpGet("/api/chat/list?user_id=" + loginUser.value.id).then((res) => { + checkSession().then((user) => { + httpGet("/api/chat/list?user_id=" + user.id).then((res) => { if (res.data) { chats.value = res.data; allChats.value = res.data;