bugfix: 引入 Verification 导致宽度不对的问题

pull/62/head
YunaiV 2025-03-28 21:12:55 +08:00
parent 265a7941e2
commit 7863652be1
1 changed files with 18 additions and 17 deletions

View File

@ -144,21 +144,22 @@ const formSchema = computed((): VbenFormSchema[] => {
</script> </script>
<template> <template>
<AuthenticationLogin <div>
ref="loginRef" <AuthenticationLogin
:form-schema="formSchema" ref="loginRef"
:loading="authStore.loginLoading" :form-schema="formSchema"
@submit="handleLogin" :loading="authStore.loginLoading"
/> @submit="handleLogin"
<!-- TODO @芋艿貌似加了后登录界面变形了 --> />
<Verification <Verification
ref="verifyRef" ref="verifyRef"
v-if="captchaEnable" v-if="captchaEnable"
:captcha-type="captchaType" :captcha-type="captchaType"
:check-captcha-api="checkCaptcha" :check-captcha-api="checkCaptcha"
:get-captcha-api="getCaptcha" :get-captcha-api="getCaptcha"
:img-size="{ width: '400px', height: '200px' }" :img-size="{ width: '400px', height: '200px' }"
mode="pop" mode="pop"
@on-success="handleVerifySuccess" @on-success="handleVerifySuccess"
/> />
</div>
</template> </template>