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', @@ -477,7 +482,7 @@ ] const createRouter = () => new Router({ // mode: 'history', // require service support mode: 'history', scrollBehavior: () => ({ y: 0 }), routes: constantRoutes })