fix: 完善登陆页面。

This commit is contained in:
XiaLangQing 2024-10-11 09:52:06 +08:00
parent f7a7ceab91
commit d62b211451
2 changed files with 7 additions and 7 deletions

View File

@ -12,8 +12,6 @@ import { tenantList, type TenantResp } from '#/api';
import { captchaImage, type CaptchaResponse } from '#/api/core/captcha';
import { useAuthStore } from '#/store';
import OAuthLogin from './oauth-login.vue';
defineOptions({ name: 'Login' });
const authStore = useAuthStore();
@ -152,11 +150,10 @@ async function handleAccountLogin(values: LoginForm) {
ref="loginFormRef"
:form-schema="formSchema"
:loading="authStore.loginLoading"
:show-code-login="false"
:show-qrcode-login="false"
:show-register="false"
:show-third-party-login="false"
@submit="handleAccountLogin"
>
<template #third-party-login>
<OAuthLogin />
</template>
</AuthenticationLogin>
/>
</template>

View File

@ -37,5 +37,8 @@
"default": "./dist/index.mjs"
}
}
},
"dependencies": {
"@vben-core/design": "file:"
}
}