feat: 修改使用vue router history 模式

This commit is contained in:
ibuler
2020-06-01 15:58:07 +08:00
parent bfec08a4c3
commit e4ba23da8b

View File

@@ -177,7 +177,7 @@ export { default as userRoutes } from './userPage'
const createRouter = () => new Router({
// mode: 'history', // require service support
scrollBehavior: () => ({ y: 0 }),
// mode: 'history',
mode: 'history',
base: '/ui/',
routes: constantRoutes
})