💊 fix: 修复固额限制

This commit is contained in:
wangsongsole 2023-06-26 16:10:10 +08:00
parent e23fb84108
commit 7a459f94c1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}