From 5f8457a9fd8ac9934a9eb794f8fda8c0ef4c8e93 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Thu, 18 Jul 2024 16:20:46 +0800
Subject: [PATCH] 新增项目(机场)管理及系统配置
---
src/store/modules/user.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 359f37f..57ff4af 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -23,6 +23,7 @@
import { formatPath } from '@/router/avue-router';
import { ElMessage } from 'element-plus';
import { encrypt } from '@/utils/sm2';
+import md5 from 'js-md5';
const user = {
state: {
@@ -45,7 +46,7 @@
userInfo.deptId,
userInfo.roleId,
userInfo.username,
- encrypt(userInfo.password),
+ md5(userInfo.password),
userInfo.type,
userInfo.key,
userInfo.code
--
Gitblit v1.9.3