|
|
|
@ -90,6 +90,10 @@ const ProductCard: React.FC<ProductCardProps> = ({
|
|
|
|
|
Alert.alert("添加失败", "请选择商品"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if(selectedSize < product.min_order_quantity) { |
|
|
|
|
Alert.alert("添加失败", "小于最小购买数量"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (groupList.length > 1) { |
|
|
|
|
const selectedSku = |
|
|
|
|
hasImg?.attributes.filter((item) => (item.size ?? 0) > 0) || []; |
|
|
|
|