From 09ef536a37a89ad6d07c9ba261692dc28bc138cf Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Sun, 23 Feb 2025 21:22:24 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3264=20=E3=80=90=E7=A4=BC=E5=93=81?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E3=80=91=E5=BD=93=E5=89=8D=E8=A7=84=E6=A0=BC?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E4=B8=8D=E8=B6=B3=E6=97=B6=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E9=80=81=E7=BB=99=E6=9C=8B=E5=8F=8B=E6=97=A0=E5=93=8D?= =?UTF-8?q?=E5=BA=94=EF=BC=8C=E5=BA=94=E6=8F=90=E7=A4=BA=EF=BC=9A=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=BA=93=E5=AD=98=E4=B8=8D=E8=B6=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index a1b0e69..aea9a3a 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -780,6 +780,10 @@ export default { }, toGift() { if ((this.attr.productSelect.stock === 0 && this.attr.cartAttr) || this.storeInfo.stock === 0) { + uni.showToast({ + title: '商品库存不足', + icon: 'none' + }) return } this.isGift = true