optimize ChatPlus page, fixed bug for websocket reconnection

This commit is contained in:
RockYang
2024-09-02 16:35:15 +08:00
parent b63e01225e
commit dfc6c87250
15 changed files with 64 additions and 110 deletions

View File

@@ -225,10 +225,7 @@ const newChat = (item) => {
}
showPicker.value = false
const options = item.selectedOptions
router.push({
name: "mobile-chat-session",
params: {role_id: options[0].value, model_id: options[1].value, title: '新建会话', chat_id: 0}
})
router.push(`/mobile/chat/session?title=新对话&role_id=${options[0].value}&model_id=${options[1].value}&chat_id=0}`)
}
const changeChat = (chat) => {