From 0c11427217d8145c301d5d8f070d04ab3f8b9f23 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Wed, 11 Sep 2024 15:58:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20oauth=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/_core/authentication/login.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/web-antd/src/views/_core/authentication/login.vue b/apps/web-antd/src/views/_core/authentication/login.vue index 095db000..71e91ac8 100644 --- a/apps/web-antd/src/views/_core/authentication/login.vue +++ b/apps/web-antd/src/views/_core/authentication/login.vue @@ -12,12 +12,13 @@ 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(); -const loginFormRef = - useTemplateRef>('loginFormRef'); +const loginFormRef = useTemplateRef('loginFormRef'); const captchaInfo = ref({ captchaEnabled: false, @@ -150,6 +151,11 @@ async function handleAccountLogin(values: LoginForm) { ref="loginFormRef" :form-schema="formSchema" :loading="authStore.loginLoading" + :show-register="false" @submit="handleAccountLogin" - /> + > + +