diff --git a/src/router/index.js b/src/router/index.js index 7299ca608..863051a93 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4466,7 +4466,7 @@ Router.prototype.push = function push (location) { const router = new Router({ routes, - mode: 'hash', // default: hash ,history + mode: 'history', // default: hash ,history scrollBehavior (to, from, savedPosition) { if (savedPosition) { return savedPosition