fix: 修复#

This commit is contained in:
沈昭朝 2024-07-26 14:13:26 +08:00
parent 1cb76bd38b
commit 0e51687963
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ export const asyncRoutes = [
export const anyRoutes = { path: '*', redirect: '/404', hidden: true } export const anyRoutes = { path: '*', redirect: '/404', hidden: true }
const createRouter = () => new Router({ const createRouter = () => new Router({
mode: 'hash', mode: 'history',
scrollBehavior: () => ({ y: 0 }), scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes routes: constantRoutes
}) })