在uni-app-runtime": "2.3.11" 版本中能正常获取数据,升级到2.3.15 数据获取异常
如:uni.setStorageSync('test', [{a:1}])
期望获取值:[{a:1}]
实际值: {"0":{a:1}}

Q__
- 发布:2024-12-05 11:46
- 更新:2024-12-05 11:52
- 阅读:174
Q__ (作者)
之前是2.3.9有问题在2.3.11修复了,现在升级到2.3.15又出现了
2024-12-05 13:37
DCloud_UNI_yuhe
回复 Q__: 是用 2.3.15 测试的,你看一下你的 unpackage 下的产物所使用的版本
2024-12-05 14:26
Q__ (作者)
回复 DCloud_UNI_yuhe: {
"modelVersion": "5.0.0",
"description": "Please describe the basic information.",
"dependencies": {
"@dcloudio/uni-app-runtime": "2.3.15",
"@uni_modules/uni-usercapturescreen": "./uni_modules/uni-usercapturescreen"
},
"devDependencies": {
"@ohos/hypium": "1.0.19",
"@ohos/hamock": "1.0.0"
},
"version": "2.0.1"
}
2024-12-05 14:50