闫增涛
2025-03-31 04c7b0163caeae4ab1c5da62e301fa993101cfad
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('已刷新')
    })
  },
});