From 2abf00efb6d83426ad84342f17252a36aeb5a4e1 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 27 九月 2024 16:09:29 +0800 Subject: [PATCH] rwd --- app.js | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 90e3474..e203b18 100644 --- a/app.js +++ b/app.js @@ -1,11 +1,17 @@ import updateManager from './common/updateManager'; -import MG from './assets/js/middleGround/WebMiddleGroundApi' -import config from "./assets/js/config.js" +import MG from './assets/js/middleGround/WebMiddleGroundApi'; +import config from './assets/js/config'; App({ MG: MG, config: config, - onLaunch: function () { }, + onLaunch: function () {}, onShow: function () { updateManager(); + MG.identity.refreshToken({ + appRefCode: config.appRefCode, + token: wx.getStorageSync(config.tokenKey) + }).then(res => { + console.log('宸插埛鏂�') + }) }, -}); +}); \ No newline at end of file -- Gitblit v1.9.1