Compare commits
No commits in common. "f08c79fc23f756ef18a7438b2577998ff7011b65" and "2c6a6b001c43e1ac0179ce214ecb953a73d0010d" have entirely different histories.
f08c79fc23
...
2c6a6b001c
@ -247,7 +247,7 @@ Router.prototype.push = function push(location) {
|
||||
|
||||
export default new Router({
|
||||
base: process.env.VUE_APP_APP_NAME ? process.env.VUE_APP_APP_NAME : "/",
|
||||
mode: 'hash', // 去掉url中的#
|
||||
mode: 'history', // 去掉url中的#
|
||||
scrollBehavior: () => ({y: 0}),
|
||||
routes: constantRoutes
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user