chenhj
5 天以前 d0e9936a97b451615442638af296c426a2032a28
src/router/router.js
@@ -8,6 +8,7 @@
//创建路由
const createRouter = () => {
  return new VueRouter({
    // mode: 'history',
    scrollBehavior (to, from, savedPosition) {
      if (savedPosition) {
        return savedPosition