|
@@ -15,7 +15,7 @@ try { |
|
|
Vue.use(Router) |
|
|
Vue.use(Router) |
|
|
|
|
|
|
|
|
export default new Router({ |
|
|
export default new Router({ |
|
|
mode: 'history', |
|
|
|
|
|
|
|
|
mode: 'hash', |
|
|
base: process.env.BASE_URL, |
|
|
base: process.env.BASE_URL, |
|
|
scrollBehavior: () => ({ y: 0 }), |
|
|
scrollBehavior: () => ({ y: 0 }), |
|
|
routes: constantRouterMap |
|
|
routes: constantRouterMap |