修改搜索商品中页面数量不显示0个的bug

This commit is contained in:
赵毅 2025-10-25 14:06:28 +08:00
parent 884b7e5b38
commit a665e924cc

View File

@ -371,6 +371,8 @@ export default {
const goods = this.goodsDetail.find(g => g.goods_id === param.id);
if (goods) {
this.$set(param, 'quantity', goods.count);
}else{
this.$set(param, 'quantity', 0);
}
});
});