From fcb5aee0d7fc7739b7e421cc116a713c3e17e534 Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Thu, 14 Apr 2022 22:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=20=E9=87=8D=E5=86=99=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=80=BB=E8=BE=91,=E7=9B=AE=E5=89=8D=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E4=BA=86=E4=B8=80=E5=8D=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kicc-ui/src/store/modules/lock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kicc-ui/src/store/modules/lock.ts b/kicc-ui/src/store/modules/lock.ts index ec2cbc12..ba0f8271 100644 --- a/kicc-ui/src/store/modules/lock.ts +++ b/kicc-ui/src/store/modules/lock.ts @@ -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!,