feat: 个人中心(未完成)
This commit is contained in:
@@ -6,6 +6,7 @@ export { default as AuthenticationQrCodeLogin } from './qrcode-login.vue';
|
||||
export { default as AuthenticationRegister } from './register.vue';
|
||||
export type {
|
||||
AuthenticationProps,
|
||||
GrantType,
|
||||
LoginAndRegisterParams,
|
||||
LoginCodeParams,
|
||||
} from './types';
|
||||
|
@@ -74,9 +74,19 @@ interface AuthenticationProps {
|
||||
usernamePlaceholder?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录类型
|
||||
* password 密码
|
||||
* sms 短信
|
||||
* social 第三方oauth
|
||||
* email 邮箱
|
||||
* xcx 小程序
|
||||
*/
|
||||
type GrantType = 'email' | 'password' | 'sms' | 'social' | 'xcx';
|
||||
|
||||
interface LoginAndRegisterParams {
|
||||
code?: string;
|
||||
grantType: string;
|
||||
grantType: GrantType;
|
||||
password: string;
|
||||
tenantId: string;
|
||||
username: string;
|
||||
@@ -102,6 +112,7 @@ interface RegisterEmits {
|
||||
|
||||
export type {
|
||||
AuthenticationProps,
|
||||
GrantType,
|
||||
LoginAndRegisterParams,
|
||||
LoginCodeEmits,
|
||||
LoginCodeParams,
|
||||
|
Reference in New Issue
Block a user