export default new Router({
// base: ‘/’,
// mode: ‘history’,
scrollBehavior: () => ({ y: 0 }),
routes: constantRouterMap
})
// base: ‘/’,
// mode: ‘history’,
这两个注掉,表示提交给后台处理
解决
export default new Router({
// base: ‘/’,
// mode: ‘history’,
scrollBehavior: () => ({ y: 0 }),
routes: constantRouterMap
})
// base: ‘/’,
// mode: ‘history’,
这两个注掉,表示提交给后台处理
解决