From e5f45ec9c2eabaa3e4241caad2d49c3629eaf0c8 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 30 九月 2024 14:18:40 +0800 Subject: [PATCH] loading --- app.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/app.js b/app.js index e203b18..38af179 100644 --- a/app.js +++ b/app.js @@ -11,7 +11,11 @@ appRefCode: config.appRefCode, token: wx.getStorageSync(config.tokenKey) }).then(res => { - console.log('宸插埛鏂�') + console.log(res, '宸插埛鏂�') + if (res.token) { + wx.setStorageSync(config.tokenKey, res.token); + } + }) }, }); \ No newline at end of file -- Gitblit v1.9.1