Browse Source

⚗ 重写登录逻辑,目前实现了一半

master
wangxiang 3 years ago
parent
commit
fcb5aee0d7
  1. 2
      kicc-ui/src/store/modules/lock.ts

2
kicc-ui/src/store/modules/lock.ts

@ -42,7 +42,7 @@ export const useLockStore = defineStore({ @@ -42,7 +42,7 @@ export const useLockStore = defineStore({
}
const tryLogin = async () => {
try {
const username = userStore.getUserInfo?.username;
const username = userStore.getUserInfo.userName;
const res = await userStore.login({
username,
password: password!,

Loading…
Cancel
Save