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