今天起来,发现wx.setStorage在部分机型上无法本地存储?

小程序 文章 2022-04-14 18:00 322 0 全屏看文

AI助手支持GPT4.0

今天起来,发现wx.setStorage在部分机型上无法本地存储?I woke up today and found that wx.setStorage cannot be stored locally on some models?

今天起来,发现wx.setStorage在部分机型上无法本地存储?

部分机型特别是非国产机型,接口没报错,但是没有缓存成功。在模拟器和电脑端以及大部分国产机上是没问题的。这个无法缓存是今天才发现是这样,代码跑了三四年了,都没改动过。况且同一套代码在不同设备上出现的问题,这不是代码也不是后台接口的问题,想问下是不是微信改接口了?

For some models, especially non domestic models, the interface does not report an error, but the cache is not successful. There is no problem on simulators, computers and most domestic computers. It was discovered today that the cache is not available. The code has been running for three or four years and has not been changed. Besides, the problems of the same set of code on different devices are not code or background interface. Do you want to ask whether wechat has changed the interface?

回答:

社区技术运营专员-Jahozheng:

你好,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点 并扫码提供信息看看

Malash:

我们也遇到了一样的问题,确认是微信 SDK 2.24.0 版本的问题,临时解决方案:https://github.com/airbnb/goji-js/issues/163

国Wei:

小米9和redmi k40有问题, 公司的oppo,华为,荣耀,苹果都没问题。


-EOF-

AI助手支持GPT4.0