From c192e381734b9caf173c90bb9141dff0326785ee Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 17 七月 2025 14:20:11 +0800 Subject: [PATCH] 京师智教小程序的专题活动模块 不做点击进入页面提示复制链接 点击时直接提示“请移步PC端查看” --- 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