mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 17:26:38 +08:00
Compare commits
5 Commits
f08329eef4
...
31fbf7e48a
Author | SHA1 | Date | |
---|---|---|---|
|
31fbf7e48a | ||
|
e2e24078c5 | ||
|
39ef92e1ce | ||
|
f63ba187dd | ||
|
23d1ac1021 |
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="theme-box" @click="toggleTheme">
|
<div class="theme-box" @click="toggleTheme">
|
||||||
<span class="iconfont icon-yueliang">{{ themePage === "light" ? "" : "" }}</span>
|
<span class="iconfont">{{ themePage === "light" ? "" : "" }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -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;
|
||||||
@ -182,7 +182,9 @@ const onLoad = () => {
|
|||||||
error.value = true
|
error.value = true
|
||||||
showFailToast("加载会话列表失败")
|
showFailToast("加载会话列表失败")
|
||||||
})
|
})
|
||||||
}).catch(() => {})
|
}).catch(() => {
|
||||||
|
finished.value = true
|
||||||
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user