Angular 如何显示firestore集合的数据';在使用get()后以html格式创建文档
我想用html显示考勤数据,如何显示 使用html表格或任何js数据网格。请详细说明,这有助于我轻松理解@SandepKumars由于您使用的是Angular,我建议您使用材料设计:好的,我会检查一下……谢谢@SandepKumar的帮助Angular 如何显示firestore集合的数据';在使用get()后以html格式创建文档,angular,google-cloud-firestore,angular7,Angular,Google Cloud Firestore,Angular7,我想用html显示考勤数据,如何显示 使用html表格或任何js数据网格。请详细说明,这有助于我轻松理解@SandepKumars由于您使用的是Angular,我建议您使用材料设计:好的,我会检查一下……谢谢@SandepKumar的帮助 this.afs.collection('users') .doc(this.userId) .collection('attendance') .get().subscribe(function(querySnapshot) { querySnapsho
this.afs.collection('users')
.doc(this.userId)
.collection('attendance')
.get().subscribe(function(querySnapshot) {
querySnapshot.forEach(function(doc) {
console.log(doc.id, " => ",doc.data());