From 3826e11a3ef66b0f3af0fe391c184e1acb3772fe Mon Sep 17 00:00:00 2001 From: LinCyJang Date: Fri, 22 May 2026 14:57:56 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E6=8A=BD=E5=A5=96=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E5=95=86=E5=93=81=E4=B8=8D=E5=85=81=E8=AE=B8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg-video/views/county-lottery.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg-video/views/county-lottery.vue b/pkg-video/views/county-lottery.vue index 43db79e..57e758e 100644 --- a/pkg-video/views/county-lottery.vue +++ b/pkg-video/views/county-lottery.vue @@ -123,7 +123,7 @@ :cartNum="cart_num" :hideQuantityControls="true" :showOk="true" - :okText="currentGoodsItem && Number(currentGoodsItem.isGiftCard) === 1 ? '送给朋友' : '立即下单'" + :okText="currentGoodsItem && Number(currentGoodsItem.isGiftCard) === 1 ? '立即下单' : '立即下单'" @changeFun="changeFun" @ok="submitFromSku()" /> @@ -369,7 +369,9 @@ export default { ...(productSelect || {}), ...(this.attr.productSelect || {}) } - const isGiftOrder = Number(this.currentGoodsItem && this.currentGoodsItem.isGiftCard) === 1 + // const isGiftOrder = Number(this.currentGoodsItem && this.currentGoodsItem.isGiftCard) === 1 + const isGiftOrder = false + const stock = Number(currentSelect.stock || 0) const hasNo = (this.attr.productAttr.length && !productSelect && this.isOpen) || stock <= 0 if (hasNo) {