litian
2025-03-14 6e6d4f6688d0f110993dc2055289e640a5fd29bb
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('已刷新')
    })
  },
});