虚拟商品售后,商品详情参数

This commit is contained in:
mabo
2021-06-25 17:36:00 +08:00
parent 7112f4cd49
commit 4160ebe004
4 changed files with 39 additions and 4 deletions

View File

@@ -327,6 +327,7 @@ export default {
})
},
promotion () { // 格式化促销活动,返回当前促销的对象
if (!this.detail.promotionMap) return false;
let keysArr = Object.keys(this.detail.promotionMap);
if (keysArr.length === 0) return false;