Compare commits

..

1 Commits

Author SHA1 Message Date
coderwei
1f1440ee49
Merge 64c98777a8 into f08329eef4 2025-05-22 09:32:15 +08:00
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="theme-box" @click="toggleTheme">
<span class="iconfont">{{ themePage === "light" ? "&#xe679;" : "&#xe60b;" }}</span>
<span class="iconfont icon-yueliang">{{ themePage === "light" ? "&#xe679;" : "&#xe60b;" }}</span>
</div>
</template>

View File

@ -170,8 +170,8 @@ checkSession().then((user) => {
})
const onLoad = () => {
checkSession().then((user) => {
httpGet("/api/chat/list?user_id=" + user.id).then((res) => {
checkSession().then(() => {
httpGet("/api/chat/list?user_id=" + loginUser.value.id).then((res) => {
if (res.data) {
chats.value = res.data;
allChats.value = res.data;
@ -182,9 +182,7 @@ const onLoad = () => {
error.value = true
showFailToast("加载会话列表失败")
})
}).catch(() => {
finished.value = true
})
}).catch(() => {})
};
const search = () => {