feat: 调整了跳转的逻辑

This commit is contained in:
2026-04-30 10:13:22 +08:00
parent 749a178987
commit 2f917eed82
2 changed files with 5 additions and 5 deletions

View File

@@ -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未连接尝试重新连接...");