1.02.1907300版本,setData赋值对象有问题?
getAddress() { let that = this wx.getStorage({ key: 'receive' , success: function (res) { console.log(res) console.log(res.data) if (res.errMsg == 'getStorage:ok' ) { let data = res.data let receiveDesc = data.province that.setData({ receiveDesc: receiveDesc, receive: res.data }) console.log(that.data.receive) } }, }) } |
console输出
2 回复