wlzboy
6 天以前 fe33646ee6e2d1e57f2b51812e94983a0e9efb04
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
})