From e56dbdb4179e7f37092624030aaa2c90ba3a4fb4 Mon Sep 17 00:00:00 2001 From: MoonLeeeaf <150461955+MoonLeeeaf@users.noreply.github.com> Date: Sun, 12 May 2024 00:16:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A0=E6=B3=95=E5=9C=A8=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=97=B6=E5=88=87=E6=8D=A2=E6=9C=8D=E5=8A=A1=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ling_chair_http/index.html | 2 +- ling_chair_http/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ling_chair_http/index.html b/ling_chair_http/index.html index b5a2eed..e8dc5d1 100644 --- a/ling_chair_http/index.html +++ b/ling_chair_http/index.html @@ -170,7 +170,7 @@ cloud_circle + n-input-ls="server" n-id="dialogSignServer" onblur="setupClient(viewBinding.dialogSignServer.val())" />
account_circle diff --git a/ling_chair_http/index.js b/ling_chair_http/index.js index 928a8e4..8cd5fcc 100644 --- a/ling_chair_http/index.js +++ b/ling_chair_http/index.js @@ -691,7 +691,7 @@ if (!localStorage.refreshToken || localStorage.refreshToken === "") let client function setUpClient(server) { - if (server) + if (server && server !== "") client = new io(server, { auth: { name: localStorage.isSignIn === "false" ? null : localStorage.userName