kvdata多个key时应该怎么写啊?~~
我这么写会报错,关于微信小程序内容不符合规则的问题。说“KVDataList must be an Array”
let kvdata =new Array();
let data1={key:rankString,value:this.rankScore};
let data2={key:rankTimeString,value:date.getTime()};
kvdata.push(data1);
kvdata.push(data2);
wx.setUserCloudStorage(kvdata);
微信小程序开发相关问题解答;本文来自微信小程序工厂 http://www.xcxgc.com 转载请保留。
本文网址:http://www.91bianli.com/kaifazhinan/66423.html