Merge pull request #10102 from dataease/pr@dev-v2@perf_websocket_connection

perf: websocket未登录状态禁止重连
This commit is contained in:
fit2cloud-chenyw 2024-06-05 11:31:47 +08:00 committed by GitHub
commit 52fa1c5136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

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