我正在使用 WL.JSONStore 离线存储 JSON 数据。但是当我的 Json 数据超过 2K 时,它会在 windows phone 中失败。
它不会出现任何错误,并且相同的代码在 Android 和 iOS 中运行良好。
这是我的代码。
WL.JSONStore
.get(COLLECTION_NAME)
.add(response.responseJSON.collection)
.then(
function (data) { <code> };