From 7236817ad6553e773d53c9d7d441c09df1531da9 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 5 Jun 2024 11:30:57 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20websocket=E6=9C=AA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=A6=81=E6=AD=A2=E9=87=8D=E8=BF=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/websocket/index.ts | 2 +- de-xpack | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/websocket/index.ts b/core/core-frontend/src/websocket/index.ts index 3c7229a81f..46d427b626 100644 --- a/core/core-frontend/src/websocket/index.ts +++ b/core/core-frontend/src/websocket/index.ts @@ -22,7 +22,7 @@ export default { } ] function isLoginStatus() { - return wsCache.get('user.token') + return wsCache.get('user.token') && wsCache.get('user.uid') } function connection() { diff --git a/de-xpack b/de-xpack index 528b54e27d..ff5fe709c3 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 528b54e27d9532e8c818e1ac70ce8e4a7dfbdc84 +Subproject commit ff5fe709c3cdb815c70d2b90a89c5b4fc3b105e3