From 04c7b0163caeae4ab1c5da62e301fa993101cfad Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 31 三月 2025 10:40:45 +0800 Subject: [PATCH] bug修改 --- app.js | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/app.js b/app.js index 38af179..56a4705 100644 --- a/app.js +++ b/app.js @@ -4,18 +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(res, '宸插埛鏂�') - if (res.token) { - wx.setStorageSync(config.tokenKey, res.token); - } - - }) }, }); \ No newline at end of file -- Gitblit v1.9.1