feat: 调整了跳转的逻辑
This commit is contained in:
@@ -873,6 +873,11 @@ const sendMessage = async (message, isInstruct = false) => {
|
||||
|
||||
await checkToken();
|
||||
|
||||
/// 切换到对话tab
|
||||
if (tabIndex.value !== 1) {
|
||||
tabIndex.value = 1;
|
||||
}
|
||||
|
||||
// 检查WebSocket连接状态,如果未连接,尝试重新连接
|
||||
if (!isWsConnected()) {
|
||||
console.log("WebSocket未连接,尝试重新连接...");
|
||||
|
||||
Reference in New Issue
Block a user