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