fixed: 分配权限时选择错误.

This commit is contained in:
lijiahang
2023-09-25 16:50:36 +08:00
parent 3c930a1b8b
commit 80e5e241fa
5 changed files with 4 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ const useUserStore = defineStore('user', {
try {
const loginRequest: LoginRequest = {
username: loginForm.username,
password: md5(loginForm.password),
password: md5(loginForm.password as string),
};
// 执行登陆
const res = await userLogin(loginRequest);