wlzboy
7 天以前 09e6dc3fb7266620fafb5e341808a8eb36e080a1
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
})