王震
2023-08-28 a1fda51c880e12a7f5e18a2ed2242dc4f407bb22
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
})