我想根据关键字过滤,比如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>
添加回答
举报
0/150
提交
取消