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