app.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/home/home.js | ●●●●● 补丁 | 查看 | 原始文档 | 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() {