device.calendar.ongoing
スクリプトの問題をデバッグできるように、データをログインさせたい。私が試してみました
if (device.calendar.ongoing.length > 0) {
console.log("All items: " + JSON.stringify(device.calendar.ongoing));
}
しかし、それは戻った
全てのアイテム: [{}]
私がしたとき
if (device.calendar.ongoing.length > 0) {
console.log("All items: " + device.calendar.ongoing);
}
しかし、それは戻った
すべてのアイテム:0
私が間違っていることについて何か考えはありますか?