修复是否存在必传验证规则的BUG
This commit is contained in:
parent
f42606bf68
commit
9859cba993
@ -130,7 +130,7 @@ func (h *handle) checkRequired(field StructField) (bool, bool) {
|
||||
}
|
||||
return true, false
|
||||
}
|
||||
return false, false
|
||||
return false, isHasRequiredRule
|
||||
}
|
||||
|
||||
// getSourceDataValue 获取源数据值
|
||||
|
Loading…
x
Reference in New Issue
Block a user