licp
2024-04-29 c30b850bdf5c48a2279f293d414850c32501192a
src/router/router.js
@@ -8,6 +8,7 @@
//创建路由
const createRouter = () => {
  return new VueRouter({
    mode: 'history',
    scrollBehavior (to, from, savedPosition) {
      if (savedPosition) {
        return savedPosition