src/router/index.js
@@ -42,6 +42,11 @@ hidden: true }, { path: '/addCommision', component: () => import('@/views/inspectionManagement/commissionInspection/addCommision'), hidden:true }, { path: '/', component: Layout, redirect: '/home', @@ -472,9 +477,8 @@ ] const createRouter = () => new Router({ // mode: 'history', // require service support mode: 'history', scrollBehavior: () => ({ y: 0 }), mode: 'history', routes: constantRoutes })