为何KVDataList为空?
var kvDataList = new Array(); kvDataList.push({ key: "score2" , value: "88888" }); wx.setUserCloudStorage({ KVDataList: kvDataList, success: res => { console.log(res) // console.log(res.data) //主域 }, fail: res => { console.log(res); } }) |
wx.getFriendCloudStorage({ KeyList: [ 'score2' ], success: res => { console.log(res.data) //子域 //drawRankList(data) } }) |
Console里面能够显示账号的记录,但KVDataList: Array(0),求解