How do I make a repetitive group of getters cleaner?

前端 未结 0 1069
忘掉有多难
忘掉有多难 2021-01-18 17:25

So I have this code for getters:

previewsDayOrders: (state) => {
  let i = 0;
  state.firebaseOrders.forEach((firebaseOrder) => {
    if (moment(firebas         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题