This commit is contained in:
zhangmanman
2021-07-07 10:47:38 +08:00
parent fc77594016
commit c29fc7b5cb
12 changed files with 56 additions and 48 deletions

View File

@@ -107,7 +107,12 @@ Page({
// 存入缓存
app.globalData.userInfo = res.data.users
app.globalData.wechatUser = res.data.wechatUser_id
// 写入缓存
wx.setStorage({
key : 'wechatUser',
data : res.data.wechatUser_id
})
this.setData({
isLogin: false