From 1c67eb9f436a85f1ca154ac1eb7cfdf561ec6c91 Mon Sep 17 00:00:00 2001 From: cccccyb <995134776@qq.com> Date: Thu, 11 May 2023 16:10:52 +0800 Subject: [PATCH] notice route modify --- ui/src/router/index.ts | 47 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/ui/src/router/index.ts b/ui/src/router/index.ts index 0e44a13..674cbc6 100644 --- a/ui/src/router/index.ts +++ b/ui/src/router/index.ts @@ -150,36 +150,12 @@ const router = createRouter({ }, { path: '/notice', - component: async () => await import('@/pages/notice/NoticeHome.vue'), name: 'noticeHome', meta: { title: '公告管理', icon: shallowRef(IconPinnacleNotice), requiresScrollbar: false, requiresPadding: true - } - }, - { - path: '/system', - name: 'systemManagement', - children: [ - { - path: 'role', - name: 'systemRole', - component: async () => - await import('@/pages/system/RoleManagement.vue'), - meta: { - title: '角色管理', - requiresScrollbar: false, - requiresPadding: true - } - } - ], - meta: { - title: '系统管理', - icon: shallowRef(IconPinnacleSetting), - requiresScrollbar: false, - requiresPadding: true }, children: [ { @@ -204,6 +180,29 @@ const router = createRouter({ } ] } + // { + // path: '/system', + // name: 'systemManagement', + // children: [ + // { + // path: 'role', + // name: 'systemRole', + // component: async () => + // await import('@/pages/system/RoleManagement.vue'), + // meta: { + // title: '角色管理', + // requiresScrollbar: false, + // requiresPadding: true + // } + // } + // ], + // meta: { + // title: '系统管理', + // icon: shallowRef(IconPinnacleSetting), + // requiresScrollbar: false, + // requiresPadding: true + // } + // } ] }, {