getProductsdatafilteritemidx= itemtype==appsmithstoresearch appsmithstoresearch == !appsmithstoresearch && newsaletopindexOfappsmithstorefilter == idx3 appsmithstorefilter
这段代码会筛选出所有type属性值为other的数据,以及所有满足以下条件的数据:
- 索引idx模3余数为0且filter属性值为new;
- 索引idx模3余数为1且filter属性值为sale;
- 索引idx模3余数为2且filter属性值为top。
如果没有满足以上条件的数据,则返回空数组。
原文地址: https://www.cveoy.top/t/topic/fhDP 著作权归作者所有。请勿转载和采集!