💊 fix: 修复固额限制
This commit is contained in:
parent
e23fb84108
commit
7a459f94c1
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue