refactor: tenantId 验证方式 z.number().positive()

This commit is contained in:
xingyu4j
2025-04-22 16:51:40 +08:00
parent 1e9b966638
commit 69fb58f2c8
9 changed files with 175 additions and 130 deletions

View File

@@ -1,9 +1,9 @@
export { default as AuthenticationAuthTitle } from './auth-title.vue';
export { default as AuthenticationCodeLogin } from './code-login.vue';
export { default as DocLink } from './doc-link.vue';
export { default as AuthenticationForgetPassword } from './forget-password.vue';
export { default as AuthenticationLoginExpiredModal } from './login-expired-modal.vue';
export { default as AuthenticationLogin } from './login.vue';
export { default as AuthenticationQrCodeLogin } from './qrcode-login.vue';
export { default as AuthenticationRegister } from './register.vue';
export { default as DocLink } from './doc-link.vue';
export { default as AuthenticationAuthTitle } from './auth-title.vue';
export type { AuthenticationProps } from './types';

View File

@@ -14,8 +14,8 @@ import { useVbenForm } from '@vben-core/form-ui';
import { VbenButton, VbenCheckbox } from '@vben-core/shadcn-ui';
import Title from './auth-title.vue';
import ThirdPartyLogin from './third-party-login.vue';
import DocLink from './doc-link.vue';
import ThirdPartyLogin from './third-party-login.vue';
interface Props extends AuthenticationProps {
formSchema: VbenFormSchema[];
@@ -179,7 +179,10 @@ defineExpose({
<!-- 第三方登录 -->
<slot name="third-party-login">
<ThirdPartyLogin v-if="showThirdPartyLogin" @third-login="handleThirdLogin" />
<ThirdPartyLogin
v-if="showThirdPartyLogin"
@third-login="handleThirdLogin"
/>
</slot>
<slot name="to-register">