Crunchy
2024-05-08 9b18523c852a24806937ebb4de3a231abef9173d
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