diff --git a/package.json b/package.json index 7e28132..f3a0b9a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "vue-antd", + "name": "wanfi-user", "type": "module", "version": "1.0.0", "scripts": { diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 983161e..2a24241 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -90,7 +90,7 @@ export const generatedRoutes: GeneratedRoute[] = [ i18nKey: 'route.function', icon: 'icon-park-outline:all-application', order: 1002, - roles: ['superuser'], + roles: ['super'], }, children: [ { @@ -208,7 +208,7 @@ export const generatedRoutes: GeneratedRoute[] = [ i18nKey: 'route.about', icon: 'fluent:book-information-24-regular', order: 1003, - roles: ['superuser'] + roles: ['super'] } }, ]; diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index 49cd77d..10e16c5 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -30,7 +30,6 @@ declare module 'vue' { AListItem: typeof import('ant-design-vue/es')['ListItem'] AListItemMeta: typeof import('ant-design-vue/es')['ListItemMeta'] AMenu: typeof import('ant-design-vue/es')['Menu'] - AMenuDivider: typeof import('ant-design-vue/es')['MenuDivider'] AMenuItem: typeof import('ant-design-vue/es')['MenuItem'] AModal: typeof import('ant-design-vue/es')['Modal'] APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] diff --git a/src/views/_builtin/login/modules/register.vue b/src/views/_builtin/login/modules/register.vue index c1fe06e..6489f6a 100644 --- a/src/views/_builtin/login/modules/register.vue +++ b/src/views/_builtin/login/modules/register.vue @@ -38,7 +38,7 @@ interface RegisterModel { password: string; email: string; fullName: string; - age: 0; + age: number; gender: string; phone: string; address: string;