opt: change the relative path with absolute path for midjourney image uploading

This commit is contained in:
RockYang
2024-03-31 17:45:22 +08:00
parent b35d95f0c7
commit 4596c1049c
2 changed files with 13 additions and 0 deletions

View File

@@ -479,9 +479,15 @@ const changeChat = (chat) => {
}
const loadChat = function (chat) {
if (!isLogin.value) {
showLoginDialog.value = true
return;
}
if (activeChat.value['chat_id'] === chat.chat_id) {
return;
}
activeChat.value = chat
newChatItem.value = null;
roleId.value = chat.role_id;