fix: 完善登陆页面。
This commit is contained in:
parent
f7a7ceab91
commit
d62b211451
@ -12,8 +12,6 @@ import { tenantList, type TenantResp } from '#/api';
|
|||||||
import { captchaImage, type CaptchaResponse } from '#/api/core/captcha';
|
import { captchaImage, type CaptchaResponse } from '#/api/core/captcha';
|
||||||
import { useAuthStore } from '#/store';
|
import { useAuthStore } from '#/store';
|
||||||
|
|
||||||
import OAuthLogin from './oauth-login.vue';
|
|
||||||
|
|
||||||
defineOptions({ name: 'Login' });
|
defineOptions({ name: 'Login' });
|
||||||
|
|
||||||
const authStore = useAuthStore();
|
const authStore = useAuthStore();
|
||||||
@ -152,11 +150,10 @@ async function handleAccountLogin(values: LoginForm) {
|
|||||||
ref="loginFormRef"
|
ref="loginFormRef"
|
||||||
:form-schema="formSchema"
|
:form-schema="formSchema"
|
||||||
:loading="authStore.loginLoading"
|
:loading="authStore.loginLoading"
|
||||||
|
:show-code-login="false"
|
||||||
|
:show-qrcode-login="false"
|
||||||
:show-register="false"
|
:show-register="false"
|
||||||
|
:show-third-party-login="false"
|
||||||
@submit="handleAccountLogin"
|
@submit="handleAccountLogin"
|
||||||
>
|
/>
|
||||||
<template #third-party-login>
|
|
||||||
<OAuthLogin />
|
|
||||||
</template>
|
|
||||||
</AuthenticationLogin>
|
|
||||||
</template>
|
</template>
|
||||||
|
@ -37,5 +37,8 @@
|
|||||||
"default": "./dist/index.mjs"
|
"default": "./dist/index.mjs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@vben-core/design": "file:"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user