<div class="item-total">
Item total: <span class="total-price" v-text="totalPrice | unitFilter2('元')"></span>
</div>
这样写报“unitFilter2 is not defined”
<div class="item-total">
Item total: <span class="total-price">{{totalPrice | unitFilter2('元')}}</span>
</div>
这样写正确
但我在网上查询说{{}}是v-text的简写,这是什么原因呢?
kevinZee
相关分类