我想根据关键字过滤,比如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>
相关分类