Compare commits

..

No commits in common. "31fbf7e48a454fbcfeb22e347393ac9099524558" and "f08329eef40a1138e77b748346d93cd69726ab13" have entirely different histories.

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 = () => {