如何解决wx.setstoragesync缓存不了数据?

小程序 文章 2022-03-23 14:00 884 0 全屏看文

AI助手支持GPT4.0

如何解决wx.setstoragesync缓存不了数据?How to solve the problem that wx.setstoragesync cannot cache data?

如何解决wx.setstoragesync缓存不了数据?

回答:

有赞:

res 就是你要的address

老张:

res.address为空,应该存res

尐飞魚คิดถึง:

res并没有address这个key,你都打印出来了,应该是res.provinceName这样,然后拼接起来成为完整的地址

-EOF-

AI助手支持GPT4.0