最后写在methods里面,用方法来返回
calprice:function(price){
let result = price * this.vipzk;
let realVal = parseFloat(result).toFixed(2)
return realVal;
},
最后写在methods里面,用方法来返回
calprice:function(price){
let result = price * this.vipzk;
let realVal = parseFloat(result).toFixed(2)
return realVal;
},