From 35d6dfc8e565708492af695f4274aa8812b0603c Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 05 三月 2025 09:45:58 +0800 Subject: [PATCH] 一些更改 --- src/router/routes/modules/demo/system.ts | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/router/routes/modules/demo/system.ts b/src/router/routes/modules/demo/system.ts index 66e19da..066425d 100644 --- a/src/router/routes/modules/demo/system.ts +++ b/src/router/routes/modules/demo/system.ts @@ -1,7 +1,7 @@ -import type { AppRouteModule } from '/@/router/types'; +import type { AppRouteModule } from '@/router/types'; -import { LAYOUT } from '/@/router/constant'; -import { t } from '/@/hooks/web/useI18n'; +import { LAYOUT } from '@/router/constant'; +import { t } from '@/hooks/web/useI18n'; const system: AppRouteModule = { path: '/system', @@ -21,7 +21,16 @@ title: t('routes.demo.system.account'), ignoreKeepAlive: false, }, - component: () => import('/@/views/demo/system/account/index.vue'), + component: () => import('@/views/demo/system/account/index.vue'), + }, + { + path: 'vxeTableAccount', + name: 'VxeTableAccountManagement', + meta: { + title: t('routes.demo.system.vxeTableAccount'), + ignoreKeepAlive: false, + }, + component: () => import('@/views/demo/system/vxe-account/index.vue'), }, { path: 'account_detail/:id', @@ -33,7 +42,7 @@ showMenu: false, currentActiveMenu: '/system/account', }, - component: () => import('/@/views/demo/system/account/AccountDetail.vue'), + component: () => import('@/views/demo/system/account/AccountDetail.vue'), }, { path: 'role', @@ -42,7 +51,7 @@ title: t('routes.demo.system.role'), ignoreKeepAlive: true, }, - component: () => import('/@/views/demo/system/role/index.vue'), + component: () => import('@/views/demo/system/role/index.vue'), }, { @@ -52,7 +61,7 @@ title: t('routes.demo.system.menu'), ignoreKeepAlive: true, }, - component: () => import('/@/views/demo/system/menu/index.vue'), + component: () => import('@/views/demo/system/menu/index.vue'), }, { path: 'dept', @@ -61,7 +70,7 @@ title: t('routes.demo.system.dept'), ignoreKeepAlive: true, }, - component: () => import('/@/views/demo/system/dept/index.vue'), + component: () => import('@/views/demo/system/dept/index.vue'), }, { path: 'changePassword', @@ -70,7 +79,7 @@ title: t('routes.demo.system.password'), ignoreKeepAlive: true, }, - component: () => import('/@/views/demo/system/password/index.vue'), + component: () => import('@/views/demo/system/password/index.vue'), }, ], }; -- Gitblit v1.9.3