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