From 75242bbba28ae8902ddf86d33febb497d79e5fc3 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 03 八月 2026 10:45:27 +0800
Subject: [PATCH] 银川 1.首页修改 2.ai辅助功能
---
src/router/routes/modules/dashboard.ts | 43 ++++++-------------------------------------
1 files changed, 6 insertions(+), 37 deletions(-)
diff --git a/src/router/routes/modules/dashboard.ts b/src/router/routes/modules/dashboard.ts
index 2cccc81..1df827e 100644
--- a/src/router/routes/modules/dashboard.ts
+++ b/src/router/routes/modules/dashboard.ts
@@ -1,46 +1,15 @@
import type { RouteRecordRaw } from 'vue-router';
-import { $t } from '#/locales';
-
const routes: RouteRecordRaw[] = [
{
+ name: 'Analytics',
+ path: '/analytics',
+ component: () => import('#/views/dashboard/analytics/index.vue'),
meta: {
- icon: 'lucide:layout-dashboard',
+ affixTab: true,
+ icon: 'lucide:area-chart',
order: -1,
- title: $t('page.dashboard.title'),
- },
- name: 'Dashboard',
- path: '/dashboard',
- children: [
- {
- name: 'Workspace',
- path: '/workspace',
- component: () => import('#/views/dashboard/workspace/index.vue'),
- meta: {
- icon: 'carbon:workspace',
- title: $t('page.dashboard.workspace'),
- },
- },
- {
- name: 'Analytics',
- path: '/analytics',
- component: () => import('#/views/dashboard/analytics/index.vue'),
- meta: {
- affixTab: true,
- icon: 'lucide:area-chart',
- title: $t('page.dashboard.analytics'),
- },
- },
- ],
- },
- {
- name: 'Profile',
- path: '/profile',
- component: () => import('#/views/_core/profile/index.vue'),
- meta: {
- icon: 'ant-design:profile-outlined',
- title: $t('ui.widgets.profile'),
- hideInMenu: true,
+ title: '棣栭〉',
},
},
];
--
Gitblit v1.9.3