From cd69b5000f6159567b566b078741a5416a482cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=B2=AB=E8=8A=B1=E7=81=ABzzz?= Date: Mon, 16 Sep 2024 11:39:24 +0800 Subject: [PATCH] =?UTF-8?q?[*]=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Login.vue b/src/views/Login.vue index 19d6a4a..2ea31be 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -165,7 +165,7 @@ async function login() { ldb.error() return } - if (rs.status === 200 && rs.data.status === 200) { + if (rs.status === 200 && rs.statusApi === 200) { message.success(rs.data.username + ',欢迎回来!') userData.commit('set_token', rs.data.token) // console.log(res.data)