wlzboy
2025-12-03 c6e38b6c66de5f5a8df5b8b2ab03a82c3b605db8
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
})