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输出
网友回复
null:
1.02.1907160版本,console输出的
娇华:
你好,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)