diff --git a/config/config.ts b/config/config.ts index 2df9daf..d6c9d44 100644 --- a/config/config.ts +++ b/config/config.ts @@ -37,6 +37,10 @@ export default defineConfig({ // 只有设置为 variable, 才能使用 configProvide 动态设置主色调 'root-entry-name': 'default', }, + keepalive: [/./], + tabsLayout: { + hasDropdown: true, + }, /** * @name moment 的国际化配置 * @description 如果对国际化没有要求,打开之后能减少js的包大小 diff --git a/config/routes.ts b/config/routes.ts index b58819b..713c09e 100644 --- a/config/routes.ts +++ b/config/routes.ts @@ -12,6 +12,7 @@ export default [ routes: [ { path: '', + name: '仪表盘', component: './Dashboard', }, { @@ -42,6 +43,7 @@ export default [ routes: [ { path: '', + name: '运营看板', component: './OperationsDashboard', }, { @@ -80,6 +82,7 @@ export default [ routes: [ { path: '', + name: '审核管理', component: './AuditsList', }, { @@ -98,6 +101,7 @@ export default [ routes: [ { path: '', + name: '需求审核', component: './RequirementAudits', }, { @@ -116,6 +120,7 @@ export default [ routes: [ { path: '', + name: '商家管理', component: './BusinessList', }, {