From d64e4b3a63f88ca012a7c76dc622533c29d2f3ce Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 09:26:57 +0800
Subject: [PATCH] fix: 去掉密码md5加密
---
src/store/modules/user.ts | 3 ++-
auto-imports.d.ts | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/auto-imports.d.ts b/auto-imports.d.ts
index 01350e2..0bc8cee 100644
--- a/auto-imports.d.ts
+++ b/auto-imports.d.ts
@@ -514,4 +514,4 @@
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
}
-}
+}
\ No newline at end of file
diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 02bc2ca..d2204f3 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -62,7 +62,8 @@
let res = await authServices.passwordLogin(
{
...params,
- password: md5Encrypt(params.password),
+ password: params.password,
+ // password: md5Encrypt(params.password),
type: AppLocalConfig.userType,
clientType: AppLocalConfig.clientType,
},
--
Gitblit v1.9.1