refactor: tenantId 验证方式 z.number().positive()
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user