From 24978231d9760dd199210f568d38996a4511188a Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 26 Sep 2023 18:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/vcCore/vcFramework.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vcCore/vcFramework.js b/public/vcCore/vcFramework.js index 9200d2647..0dc5423dc 100644 --- a/public/vcCore/vcFramework.js +++ b/public/vcCore/vcFramework.js @@ -2456,7 +2456,7 @@ if (text == null || text == undefined) { return true; } - let regMoney = /^\d+\.?\d{0,4}$/; + let regMoney = /^\-?\d+\.?\d{0,4}$/; return regMoney.test(text); }, idCard: function(num) {