From 7a459f94c138b41268f37ae89de70ffe2a687159 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 26 Jun 2023 16:10:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8A=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9B=BA=E9=A2=9D=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/redPackets/rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/redPackets/rules.js b/src/components/redPackets/rules.js index 0398cfcc..c892dbef 100644 --- a/src/components/redPackets/rules.js +++ b/src/components/redPackets/rules.js @@ -219,7 +219,7 @@ function rulesRandom(model, num) { /* 固定额度微信/支付宝验证方法 */ function rulesFixed(model, num) { - if ((model.denomination < num || model.denomination > 200) && !fP.test(model.denomination)) { + if (model.denomination < num || model.denomination > 200 || !fP.test(model.denomination)) { Notify.error(`请输入${num} ~ 200的面额且保留2位小数`) return false }