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