|
@@ -178,7 +178,7 @@ export const constantRoutes = [
|
|
]
|
|
]
|
|
|
|
|
|
const createRouter = () => new Router({
|
|
const createRouter = () => new Router({
|
|
- // mode: 'history', // require service support
|
|
|
|
|
|
+ mode: 'hash', // require service support
|
|
scrollBehavior: () => ({ y: 0 }),
|
|
scrollBehavior: () => ({ y: 0 }),
|
|
routes: constantRoutes
|
|
routes: constantRoutes
|
|
})
|
|
})
|