diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index b164f27..e241312 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -5,6 +5,7 @@ const viewEn: any = { "view.billing": "Billing", "view.billing_histories": "Historical", "view.set-meal": "Set Meal", + "view.userInfo":"User Information", }; const local: any = { diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index e385ebf..c33bda5 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -5,6 +5,7 @@ const viewZh: any = { "view.billing": "账单", "view.billing_histories": "历史查询", "view.set-meal": "套餐", + "view.userInfo":"个人信息" }; const local:any = { diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 2a24241..58dc719 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -285,4 +285,15 @@ export const customRoutes: GeneratedRoute[] = [ order: 15, } }, + { + name: 'user-info', + path: '/userInfo', + component: 'layout.base$view.userInfo', + meta: { + title: '个人信息', + i18nKey: 'view.userInfo', + icon: 'icon-park-outline:all-application', + order: 16, + } + }, ]