From edd8009e65be138d39e00cd031ba1cbdbb410f43 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Wed, 30 Jun 2021 20:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E8=AE=A2=E5=8D=95=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/confirm-order.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/order/confirm-order.vue b/pages/order/confirm-order.vue index 0dd7524..6410bf7 100644 --- a/pages/order/confirm-order.vue +++ b/pages/order/confirm-order.vue @@ -175,6 +175,10 @@ }); }, submit(){ + if(this.total() == 0) { + this.num = 1 + return this.$msg('商品数量格式不对!'); + } if(this.ifchoose == true) { if(!this.ifPay) return; this.ifPay = false;