🐛 fix: 修复bug
This commit is contained in:
parent
5e5fc985dc
commit
016d39ed5e
|
@ -125,6 +125,11 @@ export function additionalRules(params, computeMin, computeMax) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!/^\S*$/.test(model.wishing)) {
|
||||||
|
Notify.error("祝福语中存在空格,请重新输入")
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if (model.num < model.receive_num) {
|
if (model.num < model.receive_num) {
|
||||||
Notify.error("用户可领个数不允许大于红包个数")
|
Notify.error("用户可领个数不允许大于红包个数")
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue