[更新]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user