登录页面跳转

This commit is contained in:
Jason 2022-10-13 16:59:59 +08:00
parent 6ee54646a8
commit 35cec2a64c
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
@keyup.enter="handleEnter" @keyup.enter="handleEnter"
> >
<template #prepend> <template #prepend>
<icon name="el-icon-Avatar" /> <icon name="el-icon-User" />
</template> </template>
</el-input> </el-input>
</el-form-item> </el-form-item>
@ -99,7 +99,7 @@ const handleLogin = async () => {
// //
cache.set(ACCOUNT_KEY, { cache.set(ACCOUNT_KEY, {
remember: remAccount.value, remember: remAccount.value,
account: formData.account account: remAccount.value ? formData.account : ''
}) })
await userStore.login(formData) await userStore.login(formData)
const { const {