From f63ba187dd413fbf192e51cb986279a8bafcca6a Mon Sep 17 00:00:00 2001 From: zhangyao <972858472@qq.com> Date: Fri, 30 May 2025 15:48:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=88=97=E8=A1=A8=EF=BC=9A=E5=88=87=E6=8D=A2tab=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=E6=9C=89=E6=97=B6=E4=BC=9A=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=80=E7=9B=B4=E5=9C=A8=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E4=B8=AD?= 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;