Firebase vuefire-执行orderBy()时,我会丢失自动同步

Firebase vuefire-执行orderBy()时,我会丢失自动同步,firebase,vue.js,google-cloud-firestore,vuex,vuefire,Firebase,Vue.js,Google Cloud Firestore,Vuex,Vuefire,当我执行“.orderBy(“”)”时,当我删除或对其执行操作时,它不再更新我的列表。 我不明白问题是什么 如果没有orderBy(“”),一切正常,但我必须对列表进行排序 非常感谢您的帮助 bindCycle: firestoreAction(({ state, bindFirestoreRef }) => { return bindFirestoreRef( 'Cycle', fb.Cycle.where('Id', '==', state.Id).order

当我执行“.orderBy(“”)”时,当我删除或对其执行操作时,它不再更新我的列表。 我不明白问题是什么

如果没有orderBy(“”),一切正常,但我必须对列表进行排序

非常感谢您的帮助

bindCycle: firestoreAction(({ state, bindFirestoreRef }) => {
  
  return bindFirestoreRef(
    'Cycle',
    fb.Cycle.where('Id', '==', state.Id).orderBy('done')
  )
}),

首先,您是否可以共享错误消息或调试输出?没有错误消息。但我在每次可能的更改后执行“this.$Store.dispatch('bindCycle')”时都修复了它