📅  最后修改于: 2022-03-11 14:48:19.456000             🧑  作者: Mango
async getMarker() {
const snapshot = await firebase.firestore().collection('events').get()
return snapshot.docs.map(doc => doc.data());
}