From 4997974ba016e0b89b0d4b5e8c0be8b4252b3e02 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Wed, 6 Nov 2019 09:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=87=91=E9=A2=9D=E8=BE=93?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/View/default/UserH/platform_pay_show.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Sdk/View/default/UserH/platform_pay_show.html b/Application/Sdk/View/default/UserH/platform_pay_show.html index 3b4cb1c9..b6063cf8 100644 --- a/Application/Sdk/View/default/UserH/platform_pay_show.html +++ b/Application/Sdk/View/default/UserH/platform_pay_show.html @@ -62,11 +62,11 @@ $(function() { $("#pay").click(function() { - if (!$("#money").val()) { + if ($("#money").val() == '') { showerror("金额不能为空"); return ; } - if (!$("#money").val() <= 0) { + if ($("#money").val() < 0 || $("#money").val() == 0) { showerror("金额有误"); return ; }