Crunchy
2025-06-14 b25dac9ce64c5988a9e546c9c80413e9b666e4e2
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