# up router mode
This commit is contained in:
parent
1e5a3b5e51
commit
d229b5a0d8
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
NODE_ENV: '"production"',
|
||||
ENV_CONFIG: '"prod"',
|
||||
BASE_API: '"https://api-prod"'
|
||||
BASE_API: '"http://127.0.0.1:8000/"'
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ export const constantRouterMap = [
|
|||
]
|
||||
|
||||
export default new Router({
|
||||
// mode: 'history', // require service support
|
||||
mode: 'history', // require service support
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
routes: constantRouterMap
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue