细节完善

This commit is contained in:
kron
2025-07-15 14:02:09 +08:00
parent cf27f75f28
commit ece7e32393
7 changed files with 93 additions and 63 deletions

View File

@@ -15,10 +15,6 @@ export const checkConnection = () => {
fail: () => {
const token = uni.getStorageSync("token");
if (!token) return;
uni.showToast({
title: "连接中...",
icon: "none",
});
// 如果发送失败,说明连接已断开,需要重新连接
websocket.createWebSocket(token, (content) => {
uni.$emit("socket-inbox", content);