Crunchy
2024-05-06 786563298fa34e83409aec052a1bf21329164d67
src/router/router.js
@@ -8,7 +8,7 @@
//创建路由
const createRouter = () => {
  return new VueRouter({
    mode: 'history',
    // mode: 'history',
    scrollBehavior (to, from, savedPosition) {
      if (savedPosition) {
        return savedPosition