app.js
@@ -4,14 +4,10 @@ App({ MG: MG, config: config, onLaunch: function () {}, onLaunch: function () { wx.setStorageSync('stateMenu', 'true') }, onShow: function () { updateManager(); MG.identity.refreshToken({ appRefCode: config.appRefCode, token: wx.getStorageSync(config.tokenKey) }).then(res => { console.log('已刷新') }) }, });