我想根据关键字过滤,比如row.fundName == 'xxx',然后只显示条件匹配的row。用filter怎么用?
<tbody>
    <tr v-for="(row, index) in rows | filterId">
    <td>{{ row.id }}</td>
    <td>{{ row.fundCode }}</td>
    <td>{{ row.fundName }}</td>
    <td>{{ row.fundType }}</td>
    <td>{{ row.netAssetValue }}</td>
    <td>{{ row.daHighsAndLows }}</td>
    <td><a href="#">详情配置</a></td>
    </tr>
</tbody>
                            
                                    Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
官方文档都有说得,去掉了filter,建议使用 computed