我接下来要重复:
*ngFor="let item of items | filterBy: ['SN', 'Name']: userFilter | orderBy: order | paginate: {itemsPerPage: 10, currentPage: 1}; let i = index;"
我需要获得Filtered项目。如果我添加let count = count,我将只得到10。
答案 0 :(得分:1)
你可以这样做:
<span>
{{ (items | filterBy: ['SN', 'Name'])?.length }}
</span>