vue-template
chenmo2019
前端
展开
-
v-if进行判断剔除元素时
其所在元素还是会循环,只是注释掉其子元素。 <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>原创 2020-09-18 21:07:54 · 333 阅读 · 0 评论 -
series.arearange.data
An array of data points for the series. For the arearange series type, points can be given in the following ways: An array of arrays with 3 or 2 values. In this case, the values correspond to x,low,high. If the first value is a string, it is applied as th原创 2020-09-18 10:56:22 · 123 阅读 · 0 评论 -
vue中如何用v-f把上述代码简写。
<div class="public-ctn-bg" style="margin-top: 10px;"> <!-- <highcharts class="chart" :options="chartOptions2"></highcharts> --> <ul class="chart-list"> <li> <div> <span>杭州市</span>原创 2020-09-17 21:01:33 · 409 阅读 · 0 评论