diff --git a/src/router/routes/modules/firmware.ts b/src/router/routes/modules/firmware.ts index c062a68..88538cc 100644 --- a/src/router/routes/modules/firmware.ts +++ b/src/router/routes/modules/firmware.ts @@ -1,31 +1,31 @@ -import { DEFAULT_LAYOUT } from '../base'; -import { AppRouteRecordRaw } from '../types'; +// import { DEFAULT_LAYOUT } from '../base'; +// import { AppRouteRecordRaw } from '../types'; -const FIRMWARE: AppRouteRecordRaw = { - path: '/firmware', - name: 'firmware', - component: DEFAULT_LAYOUT, - redirect: '/firmware/firmware', - meta: { - locale: 'menu.firmware', - requiresAuth: true, - icon: 'icon-thunderbolt', - order: 1, - hideChildrenInMenu: true, - }, - children: [ - { - path: 'firmware', - name: 'firmware', - component: () => import('@/views/firmware/index.vue'), - meta: { - locale: 'menu.firmware', - requiresAuth: true, - roles: ['*'], - activeMenu: 'firmware', - }, - }, - ], -}; +// const FIRMWARE: AppRouteRecordRaw = { +// path: '/firmware', +// name: 'firmware', +// component: DEFAULT_LAYOUT, +// redirect: '/firmware/firmware', +// meta: { +// locale: 'menu.firmware', +// requiresAuth: true, +// icon: 'icon-thunderbolt', +// order: 1, +// hideChildrenInMenu: true, +// }, +// children: [ +// { +// path: 'firmware', +// name: 'firmware', +// component: () => import('@/views/firmware/index.vue'), +// meta: { +// locale: 'menu.firmware', +// requiresAuth: true, +// roles: ['*'], +// activeMenu: 'firmware', +// }, +// }, +// ], +// }; -export default FIRMWARE; +// export default FIRMWARE;