Crunchy
2024-05-08 976c6eb6ca0e425342aabe5397eaa4095708bffe
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