Commit a1b7d371 by chenwq

头像昵称

1 parent 4485ed61
......@@ -12,11 +12,12 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
console.log(options, '///')
const info = decodeURIComponent(options.userProfile)
wx.p.router.back(res => {
console.log(res, 'res---')
res.setData({
url: options.userProfile
nickName: info.nickName,
headImgUrl: info.avatarUrl,
hasUserInfo: true
})
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!