zouyu
2023-08-26 8cdd746682b92b7aaabad790db5bafa3d57ccea7
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
})