📅  最后修改于: 2022-03-11 15:01:34.261000             🧑  作者: Mango
firebase.database().ref('items/').orderByChild('letter').on('value', snapshot => {
snapshot.forEach(c => { i = c.val(); console.log(i.number, i.letter, i.date) })
})