This commit is contained in:
zhangmanman
2021-07-07 10:56:55 +08:00
parent c29fc7b5cb
commit ba6b09db50
2 changed files with 7 additions and 2 deletions

View File

@@ -30,8 +30,13 @@ Page({
way : options.way
})
const wechatUserId = wx.getStorageSync("wechatUser")
this.setData({
wechatUserId: wechatUserId
})
if(options.type == "mobiles") {
wx.$api.user.mobiles().then(res=>{
wx.$api.user.mobiles(this.data.wechatUserId).then(res=>{
this.setData({
loginTel : res.data
})