配置全局变量

This commit is contained in:
姚亚男
2021-11-01 11:33:52 +08:00
parent 180ea3f9cc
commit fa409f4b4c
16 changed files with 39 additions and 48 deletions
+3
View File
@@ -7,6 +7,9 @@ App({
const logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
wx.removeStorage({
key: 'avatarUrl',
})
// 长时间不操作导致token失效之后执行自动微信登录操作
wx.getStorage({
key: 'rsaPublicKey',