feat(admin): 后台瘦身——数据总览为默认页/精简菜单/顶栏去演示组件
- 默认页:HOME_PAGE_PATH 指向 /tracker/dashboard,登录/根路径/logo 点击统一落数据总览 - 菜单:tracker 路由扁平为顶级三项(数据总览/访客管理/站点管理),访客详情保持 hidden; 移除模板演示路由(工作台/分析页、结果页、异常页、系统管理 mock 页),直达返回 404; system 仅保留隐藏的个人中心路由供头像菜单使用 - 顶栏:配置化停用通知铃铛/快捷入口/全局搜索(含 Ctrl+K)/聊天窗口,保留主题/语言/全屏/设置与头像菜单 - worktab:命中 catch-all 404 的遗留标签视为无效自动清理(如旧"工作台"标签) Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,7 @@ export const globalComponentsConfig: GlobalComponentConfig[] = [
|
||||
component: defineAsyncComponent(
|
||||
() => import('@/components/core/layouts/art-global-search/index.vue')
|
||||
),
|
||||
enabled: true
|
||||
enabled: false
|
||||
},
|
||||
{
|
||||
name: '锁屏',
|
||||
@@ -51,7 +51,7 @@ export const globalComponentsConfig: GlobalComponentConfig[] = [
|
||||
component: defineAsyncComponent(
|
||||
() => import('@/components/core/layouts/art-chat-window/index.vue')
|
||||
),
|
||||
enabled: true
|
||||
enabled: false
|
||||
},
|
||||
{
|
||||
name: '礼花效果',
|
||||
|
||||
@@ -23,28 +23,28 @@ export const headerBarConfig: HeaderBarFeatureConfig = {
|
||||
description: '页面刷新按钮'
|
||||
},
|
||||
fastEnter: {
|
||||
enabled: true,
|
||||
description: '快速入口功能,提供常用应用和链接的快速访问'
|
||||
enabled: false,
|
||||
description: '快速入口功能,提供常用应用和链接的快速访问(模板演示组件,已停用)'
|
||||
},
|
||||
breadcrumb: {
|
||||
enabled: true,
|
||||
description: '面包屑导航,显示当前页面路径'
|
||||
},
|
||||
globalSearch: {
|
||||
enabled: true,
|
||||
description: '全局搜索功能,支持快捷键 Ctrl+K 或 Cmd+K'
|
||||
enabled: false,
|
||||
description: '全局搜索功能,支持快捷键 Ctrl+K 或 Cmd+K(模板演示组件,已停用)'
|
||||
},
|
||||
fullscreen: {
|
||||
enabled: true,
|
||||
description: '全屏切换功能'
|
||||
},
|
||||
notification: {
|
||||
enabled: true,
|
||||
description: '通知中心,显示系统通知和消息'
|
||||
enabled: false,
|
||||
description: '通知中心,显示系统通知和消息(模板演示组件,已停用)'
|
||||
},
|
||||
chat: {
|
||||
enabled: true,
|
||||
description: '聊天功能,提供实时沟通'
|
||||
enabled: false,
|
||||
description: '聊天功能,提供实时沟通(模板演示组件,已停用)'
|
||||
},
|
||||
language: {
|
||||
enabled: true,
|
||||
|
||||
Reference in New Issue
Block a user