💊 fix: 修复bug
This commit is contained in:
parent
112c07da8c
commit
733494439b
|
@ -160,6 +160,7 @@ export function additionalRules(params, computeMin, computeMax) {
|
|||
/* TODO: 2:微信 1:支付宝 */
|
||||
if (model.channel === 2) {
|
||||
if (!rulesRandom(model, 0.1)) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -255,6 +256,8 @@ function rulesFixed(model, num) {
|
|||
if (model.denomination < num || model.denomination > 200 || !fP.test(model.denomination)) {
|
||||
Notify.error(`请输入${num} ~ 200的面额且保留2位小数`)
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue