wlzboy
2025-11-09 fa5ea853099e88be253fca4fb2b0c2b7af5f396e
ruoyi-ui/src/router/index.js
@@ -248,7 +248,7 @@
}
export default new Router({
  mode: 'hash', // 使用hash模式,兼容性更好
  mode: 'history', // 使用history模式,URL更美观
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRoutes
})