# up router mode

This commit is contained in:
xianfuxing 2018-07-30 09:55:50 +08:00
parent 1e5a3b5e51
commit d229b5a0d8
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
ENV_CONFIG: '"prod"', ENV_CONFIG: '"prod"',
BASE_API: '"https://api-prod"' BASE_API: '"http://127.0.0.1:8000/"'
} }

View File

@ -65,7 +65,7 @@ export const constantRouterMap = [
] ]
export default new Router({ export default new Router({
// mode: 'history', // require service support mode: 'history', // require service support
scrollBehavior: () => ({ y: 0 }), scrollBehavior: () => ({ y: 0 }),
routes: constantRouterMap routes: constantRouterMap
}) })