Skip to content

Commit

Permalink
revert: hide flashing firmware page
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnL4 committed Sep 14, 2023
1 parent e257cf9 commit 052f22f
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions src/router/routes/modules/firmware.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 052f22f

Please sign in to comment.