setFriends() {
var kvDataList = new Array();
kvDataList.push({key:“score”,value:“88888”});
wx.setUserCloudStorage({
KVDataList:kvDataList,
success: res =>{
console.log('success: ’ +res)
wx.getFriendCloudStorage({
success:function(res) {
console.log(res);
}
});
},
fail: res => {
console.log('fail: ’ +res)
}
});
},
在微信开发者工具中查看 wx.getFrirendsCloudStorage()回调中打印中打印的有两条记录,但是KVDataList数组都是空的,我这里wx.setUserCloudStorage() 调用有啥问题吗?