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({
} }
const tryLogin = async () => { const tryLogin = async () => {
try { try {
const username = userStore.getUserInfo?.username; const username = userStore.getUserInfo.userName;
const res = await userStore.login({ const res = await userStore.login({
username, username,
password: password!, password: password!,

Loading…
Cancel
Save