Browse Source

商品详情页修改

main
Mac 1 month ago
parent
commit
90d0e8d75a
  1. 4
      app/screens/ProductCard.tsx

4
app/screens/ProductCard.tsx

@ -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) || [];

Loading…
Cancel
Save