在提到this post时,我遇到了一个问题,它显示为snapshotChanges is not a function TypeError: db.collection(...).snapshotChangesvar db = firebase.firestore();
$scope.accounts = db.collection("Accounts").snapshotChanges()src="/__/firebase/
我正在使用Angular 6和Firestore开发一个应用程序,在该应用程序中,我将我的日期保存为Javascript的Date对象。问题是,当我执行snapshotChanges()时,它返回一个Unix Timestamp,而不是我数据库中的Date对象。Firestore has already been started and its settings can no longer be changed.我还尝试在调用snapshotChanges()之前更改设