隐藏一些菜单

This commit is contained in:
zhl 2021-04-22 19:09:53 +08:00
parent aeb2982e47
commit e12bafe5e4

View File

@ -124,22 +124,22 @@ export const asyncRoutes: RouteConfig[] = [
// articleRouters, // articleRouters,
marketingRoutes, marketingRoutes,
questionRoutes, questionRoutes,
{ // {
path: '/error-log', // path: '/error-log',
component: Layout, // component: Layout,
redirect: 'noredirect', // redirect: 'noredirect',
children: [ // children: [
{ // {
path: 'log', // path: 'log',
component: () => import(/* webpackChunkName: "error-log" */ '@/views/error-log/index.vue'), // component: () => import(/* webpackChunkName: "error-log" */ '@/views/error-log/index.vue'),
name: 'ErrorLog', // name: 'ErrorLog',
meta: { // meta: {
title: 'errorLog', // title: 'errorLog',
icon: 'bug' // icon: 'bug'
} // }
} // }
] // ]
}, // },
{ {
path: '*', path: '*',
redirect: '/404', redirect: '/404',