From 0c7dfe2af4dbba1afad858ab2d67f23da7219c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Tue, 7 May 2024 22:16:11 +0800 Subject: [PATCH] fix --- static/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/login.html b/static/login.html index a10ea91f..6cb4596a 100644 --- a/static/login.html +++ b/static/login.html @@ -93,7 +93,7 @@ body: JSON.stringify({ token: tokenInput.value }) }); let responseJson = response.json(); - let retCode = responseJson.json().code; + let retCode = responseJson.code; if (retCode === 0) { //登录成功 let retCredential = responseJson.data.Credential;