修改直播价格展示信息错误

This commit is contained in:
学习很差啦
2023-02-21 14:25:32 +08:00
parent 49d023cef0
commit 32b29f45e7
2 changed files with 6 additions and 5 deletions

View File

@@ -55,7 +55,7 @@
<div v-else>
<div v-if="row.priceType == 1">{{row.price | unitPrice('')}}</div>
<div v-if="row.priceType == 2">{{row.price | unitPrice('')}}{{row.price2 | unitPrice('')}}</div>
<div v-if="row.priceType == 3">{{row.price | unitPrice('¥')}}<span class="original-price">{{row.price2 | unitPrice('')}}</span></div>
<div v-if="row.priceType == 3">{{row.price2 | unitPrice('¥')}}<span class="original-price">{{row.price | unitPrice('')}}</span></div>
</div>
</template>
@@ -264,7 +264,7 @@ export default {
async saveLiveGoods() {
this.saveGoodsLoading = true;
let submit = this.liveGoodsData.map((element) => {
console.log(element);
return {
goodsId: element.goodsId, //商品id
goodsImage: element.small, //商品图片 最大为 300 * 300