src/router/index.js
@@ -47,6 +47,11 @@ hidden:true }, { path: '/testReport', component: () => import('@/views/template_testReport/index'), hidden:true }, { path: '/', component: Layout, redirect: '/home', @@ -432,7 +437,6 @@ { path: 'message', name: 'Message', // hidden: true, component: () => import('@/views/message/message/index'), // meta: { title: '我的消息', icon: 'table' } }, @@ -478,7 +482,7 @@ ] const createRouter = () => new Router({ // mode: 'history', // require service support mode: 'history', scrollBehavior: () => ({ y: 0 }), routes: constantRoutes })