1
litian
2024-09-30 0cfbfb6ec666ec62d4935eca539ad823834b0765
1
2个文件已修改
10 ■■■■ 已修改文件
app.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
app.js
@@ -11,7 +11,11 @@
      appRefCode: config.appRefCode,
      token: wx.getStorageSync(config.tokenKey)
    }).then(res => {
      console.log('已刷新')
      console.log(res, '已刷新')
      if (res.token) {
        wx.setStorageSync(config.tokenKey, res.token);
      }
    })
  },
});
pages/home/home.js
@@ -50,7 +50,7 @@
    if (token) {
      this.getShoppingCartList()
    }
    this.init();
  },
  onLoad() {
@@ -77,7 +77,7 @@
        }
      })
    }
    this.init();
  },
  onReachBottom() {},
  onPullDownRefresh() {