From 914a451375b335ba26272c29bb38653b455b6ab3 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Wed, 14 May 2025 09:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 6c1779b..a1ccc35 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -38,7 +38,7 @@ const user = { actions: { // 登录 Login({ commit }, userInfo) { - const username = userInfo.username.trim() + const username = encrypt(userInfo.username.trim()) const password = encrypt(userInfo.password) const code = userInfo.code const uuid = userInfo.uuid