diff --git a/apps/web-antd/src/router/routes/local.ts b/apps/web-antd/src/router/routes/local.ts index a6dcfe1..7bc22a7 100644 --- a/apps/web-antd/src/router/routes/local.ts +++ b/apps/web-antd/src/router/routes/local.ts @@ -1,3 +1,10 @@ +/* + * @Author: Mm + * @Date: 2025-02-20 09:55:11 + * @LastEditors: Mm + * @LastEditTime: 2025-11-08 10:34:16 + * 不写bug的程序员不是一个好程序员! + */ import type { RouteRecordStringComponent } from '@vben/types'; import { $t } from '@vben/locales'; @@ -49,7 +56,6 @@ const localRoutes: RouteRecordStringComponent[] = [ name: 'RoleAssign', path: '/system/role-assign/:roleId', }, - ]; /** @@ -60,9 +66,11 @@ export const localMenuList: RouteRecordStringComponent[] = [ component: 'BasicLayout', meta: { order: -1, - title: 'page.dashboard.title', + title: '首页', // 不使用基础布局(仅在顶级生效) noBasicLayout: true, + hideChildrenInMenu: true, + icon: 'ic:baseline-house', }, name: 'Dashboard', path: '/', @@ -74,18 +82,19 @@ export const localMenuList: RouteRecordStringComponent[] = [ component: '/dashboard/analytics/index', meta: { affixTab: true, - title: 'page.dashboard.analytics', - }, - }, - { - name: 'Workspace', - path: '/workspace', - component: '/dashboard/workspace/index', - meta: { - title: 'page.dashboard.workspace', + icon: 'ic:baseline-house', + title: '首页', }, }, // { + // name: 'Workspace', + // path: '/workspace', + // component: '/dashboard/workspace/index', + // meta: { + // title: 'page.dashboard.workspace', + // }, + // }, + // { // name: 'VbenDocument', // path: '/vben-admin/document', // component: 'IFrameView', diff --git a/apps/web-antd/src/views/dashboard/analytics/index-old.vue b/apps/web-antd/src/views/dashboard/analytics/index-old.vue new file mode 100644 index 0000000..00b34df --- /dev/null +++ b/apps/web-antd/src/views/dashboard/analytics/index-old.vue @@ -0,0 +1,90 @@ + + + diff --git a/apps/web-antd/src/views/dashboard/analytics/index.vue b/apps/web-antd/src/views/dashboard/analytics/index.vue index 00b34df..569763e 100644 --- a/apps/web-antd/src/views/dashboard/analytics/index.vue +++ b/apps/web-antd/src/views/dashboard/analytics/index.vue @@ -1,90 +1,1723 @@ - - + + + + + + + diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index 11195f7..e92f160 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -2,7 +2,7 @@ * @Author: Mm * @Date: 2025-02-22 09:28:38 * @LastEditors: Mm - * @LastEditTime: 2025-03-13 17:23:32 + * @LastEditTime: 2025-11-08 10:33:53 * @remarker: */ import { defineConfig } from '@vben/vite-config'; @@ -35,7 +35,7 @@ export default defineConfig(async () => { rewrite: (path) => path.replace(/^\/api/, ''), // mock代理目标地址 // target: 'http://192.168.0.10:8087', - target: 'http://192.168.0.61:8080', + target: 'http://192.168.0.58:8081', // target: 'http://localhost:8080', ws: true, },