fix: 修复#
This commit is contained in:
parent
1cb76bd38b
commit
0e51687963
|
@ -183,7 +183,7 @@ export const asyncRoutes = [
|
|||
export const anyRoutes = { path: '*', redirect: '/404', hidden: true }
|
||||
|
||||
const createRouter = () => new Router({
|
||||
mode: 'hash',
|
||||
mode: 'history',
|
||||
scrollBehavior: () => ({ y: 0 }),
|
||||
routes: constantRoutes
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue