From e6eb5dccecce12a0b6dacf21c8fa2904c896dbaa Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期五, 10 一月 2025 15:34:43 +0800
Subject: [PATCH] md5加密

---
 src/view/Login.vue |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/view/Login.vue b/src/view/Login.vue
index 28402e8..a403242 100644
--- a/src/view/Login.vue
+++ b/src/view/Login.vue
@@ -89,9 +89,7 @@
             }
             login({
                 account: this.account,
-                pwd: CryptoJS.HmacMD5(this.pwd, 'password').toString(
-                    CryptoJS.enc.Hex,
-                ),
+                pwd: CryptoJS.MD5(this.pwd).toString(),
                 type: 2
             }).then((result) => {
                 localStorage.setItem('extra', result.data.extra);

--
Gitblit v1.7.1