From ff16cc10a031e322a50b919cd7904dca16897d11 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 18 八月 2025 16:51:00 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdminBClient

---
 src/store/modules/user.ts |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index d472450..42a97e2 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -19,7 +19,7 @@
 
 export interface UserState {
   token: string;
-  userInfo: API.PasswordLoginCommandCallback;
+  userInfo: API.LoginCommandCallback;
 }
 
 function getDefaultState() {
@@ -52,7 +52,7 @@
       this.token = token;
       setToken(token);
     },
-    setUserInfo(userInfo: API.PasswordLoginCommandCallback) {
+    setUserInfo(userInfo: API.LoginCommandCallback) {
       this.userInfo = userInfo;
       setUserInfo(userInfo);
     },
@@ -62,12 +62,14 @@
       let res = await authServices.passwordLogin(
         {
           ...params,
-          password: md5Encrypt(params.password),
+          password: (params.password),
+          // password: md5Encrypt(params.password),
           type: AppLocalConfig.userType,
           clientType: AppLocalConfig.clientType,
         },
         {
           showLoading: false,
+          skipErrorHandler: true,
         }
       );
       if (res) {

--
Gitblit v1.9.1