diff --git a/src/assets/svg-icon/menu/ai-credit.svg b/src/assets/svg-icon/menu/ai-credit.svg new file mode 100644 index 0000000..83764b5 --- /dev/null +++ b/src/assets/svg-icon/menu/ai-credit.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index e82f7dd..90f645b 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -206,18 +206,18 @@ const local: App.I18n.Schema = { 'iframe-page': '外链页面', home: '首页', system: '系统管理', - system2: '系统管理2', - system2_user: '用户管理2', - system2_role: '角色管理2', - system2_menu: '菜单管理2', - system2_dept: '部门管理2', - system2_post: '岗位管理2', - system2_dict: '字典管理2', - system2_config: '参数设置2', - system2_client: '客户端管理2', - system2_notice: '通知公告2', - system2_oss: '文件管理2', - system2_log: '日志中心2', + system2: '系统管理', + system2_user: '用户管理', + system2_role: '角色管理', + system2_menu: '菜单管理', + system2_dept: '部门管理', + system2_post: '岗位管理', + system2_dict: '字典管理', + system2_config: '参数设置', + system2_client: '客户端管理', + system2_notice: '通知公告', + system2_oss: '文件管理', + system2_log: '日志中心', system_menu: '菜单管理', tool: '系统工具', tool_gen: '代码生成', diff --git a/src/router/elegant/routes.ts b/src/router/elegant/routes.ts index 8afd362..e49afce 100644 --- a/src/router/elegant/routes.ts +++ b/src/router/elegant/routes.ts @@ -67,7 +67,8 @@ export const generatedRoutes: GeneratedRoute[] = [ component: 'layout.base$view.ai-credit', meta: { title: 'ai-credit', - i18nKey: 'route.ai-credit' + i18nKey: 'route.ai-credit', + localIcon: 'menu-ai-credit' } }, {