perf: websocket未登录状态禁止重连

This commit is contained in:
fit2cloud-chenyw 2024-06-05 11:30:57 +08:00
parent fd769ddb81
commit 7236817ad6
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export default {
} }
] ]
function isLoginStatus() { function isLoginStatus() {
return wsCache.get('user.token') return wsCache.get('user.token') && wsCache.get('user.uid')
} }
function connection() { function connection() {

@ -1 +1 @@
Subproject commit 528b54e27d9532e8c818e1ac70ce8e4a7dfbdc84 Subproject commit ff5fe709c3cdb815c70d2b90a89c5b4fc3b105e3