<span><i class="fz14 oStatus" v-if="site.order_status === 1">+</i>{{site.order_amount}}</span><br>
<span><i class="fz14 oStatus" v-if="site.order_status === 2">-</i>{{site.order_amount}}</span><br>
Why does it appear twice? I only want data with or -, what should I do?
滿天的星座2017-07-05 10:52:33
Your v-if
was added in the wrong position, it should be added on <span>
.