其所在元素还是会循环,只是注释掉其子元素。
<tbody v-for = "(item,index) in pollutedCompanydata" :key="index" >
<td v-if="index >= pollutedCompanydata.length/2">
<span>{{item[0]}}</span>
<i>{{item[1]}}</i>
<i>{{item[2]}}%</i>
<el-progress
type="circle"
:percentage="item[2]"
:width="20"
:stroke-width="3"
:show-text="false"
></el-progress>
</td>
</tbody>
<tbody>
<!-- --!>
</tbody>