fix:注册界面及相关功能
This commit is contained in:
14
src/typings/api.d.ts
vendored
14
src/typings/api.d.ts
vendored
@@ -138,6 +138,20 @@ declare namespace Api {
|
||||
uuid: string;
|
||||
authType: string;
|
||||
}
|
||||
interface RegisterBody{
|
||||
username: string;
|
||||
password: string;
|
||||
authType:string;
|
||||
email: string;
|
||||
fullName: string;
|
||||
age: number;
|
||||
address: string;
|
||||
sex: string;
|
||||
phonenumber: string;
|
||||
}
|
||||
interface EmailCaptcha{
|
||||
email:string;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
1
src/typings/app.d.ts
vendored
1
src/typings/app.d.ts
vendored
@@ -358,6 +358,7 @@ declare namespace App {
|
||||
back: string;
|
||||
validateSuccess: string;
|
||||
loginSuccess: string;
|
||||
registerSuccess: string;
|
||||
welcomeBack: string;
|
||||
checkCode: string;
|
||||
};
|
||||
|
||||
3
src/typings/auto-imports.d.ts
vendored
3
src/typings/auto-imports.d.ts
vendored
@@ -20,6 +20,7 @@ declare global {
|
||||
const beforeAll: typeof import('vitest')['beforeAll']
|
||||
const beforeEach: typeof import('vitest')['beforeEach']
|
||||
const chai: typeof import('vitest')['chai']
|
||||
const checkReport: typeof import('../service/api/auth')['checkReport']
|
||||
const clearAuthStorage: typeof import('../store/modules/auth/shared')['clearAuthStorage']
|
||||
const cloneDeep: typeof import('lodash-es')['cloneDeep']
|
||||
const computed: typeof import('vue')['computed']
|
||||
@@ -96,6 +97,7 @@ declare global {
|
||||
const fetchIsRouteExist: typeof import('../service/api/route')['fetchIsRouteExist']
|
||||
const fetchLogin: typeof import('../service/api/auth')['fetchLogin']
|
||||
const fetchRefreshToken: typeof import('../service/api/auth')['fetchRefreshToken']
|
||||
const fetchRegister: typeof import('../service/api/auth')['fetchRegister']
|
||||
const filterAuthRoutesByRoles: typeof import('../store/modules/route/shared')['filterAuthRoutesByRoles']
|
||||
const filterTabsById: typeof import('../store/modules/tab/shared')['filterTabsById']
|
||||
const filterTabsByIds: typeof import('../store/modules/tab/shared')['filterTabsByIds']
|
||||
@@ -182,6 +184,7 @@ declare global {
|
||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
||||
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
||||
const sendCaptcha: typeof import('../service/api/auth')['sendCaptcha']
|
||||
const sessionStg: typeof import('../utils/storage')['sessionStg']
|
||||
const setActivePinia: typeof import('pinia')['setActivePinia']
|
||||
const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix']
|
||||
|
||||
1
src/typings/components.d.ts
vendored
1
src/typings/components.d.ts
vendored
@@ -13,6 +13,7 @@ declare module 'vue' {
|
||||
ACard: typeof import('ant-design-vue/es')['Card']
|
||||
ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
|
||||
ACol: typeof import('ant-design-vue/es')['Col']
|
||||
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
|
||||
ADescriptions: typeof import('ant-design-vue/es')['Descriptions']
|
||||
ADescriptionsItem: typeof import('ant-design-vue/es')['DescriptionsItem']
|
||||
ADivider: typeof import('ant-design-vue/es')['Divider']
|
||||
|
||||
Reference in New Issue
Block a user