From 6f43c6d4d3451f53062f48f6d6876ac09207b82c Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 26 Sep 2023 18:05:59 +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 50ae04c38..9200d2647 100644 --- a/public/vcCore/vcFramework.js +++ b/public/vcCore/vcFramework.js @@ -2446,7 +2446,7 @@ if (text == null || text == undefined) { return true; } - let regMoney = /^\d+\.?\d{0,2}$/; + let regMoney = /^\-?\d+\.?\d{0,2}$/; return regMoney.test(text); }, /**