mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 01:06:39 +08:00
修复移动端会话列表一直在加载中bug
This commit is contained in:
parent
dbb372fd14
commit
a87bf0197d
@ -170,8 +170,8 @@ checkSession().then((user) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const onLoad = () => {
|
const onLoad = () => {
|
||||||
checkSession().then(() => {
|
checkSession().then((user) => {
|
||||||
httpGet("/api/chat/list?user_id=" + loginUser.value.id).then((res) => {
|
httpGet("/api/chat/list?user_id=" + user.id).then((res) => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
chats.value = res.data;
|
chats.value = res.data;
|
||||||
allChats.value = res.data;
|
allChats.value = res.data;
|
||||||
|
Loading…
Reference in New Issue
Block a user