Merge 287bd17937
into 33a93a12b4
This commit is contained in:
commit
16a976e31c
|
@ -389,6 +389,7 @@ export const asyncRoutes = [
|
||||||
|
|
||||||
const createRouter = () => new Router({
|
const createRouter = () => new Router({
|
||||||
// mode: 'history', // require service support
|
// mode: 'history', // require service support
|
||||||
|
// base: process.env.VUE_APP_SRC, // use in hitory mode when publicPath is set
|
||||||
scrollBehavior: () => ({ y: 0 }),
|
scrollBehavior: () => ({ y: 0 }),
|
||||||
routes: constantRoutes
|
routes: constantRoutes
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue