Pre Merge pull request !1009 from 美一天/N/A
commit
3d09bea7c7
|
|
@ -179,5 +179,6 @@ Router.prototype.replace = function push(location) {
|
|||
export default new Router({
|
||||
mode: 'history', // 去掉url中的#
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
base: process.env.BASE_URL, // 自动匹配 publicPath
|
||||
routes: constantRoutes
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue