修复是否存在必传验证规则的BUG

This commit is contained in:
白茶清欢 2025-03-21 22:53:28 +08:00
parent f42606bf68
commit 9859cba993

View File

@ -130,7 +130,7 @@ func (h *handle) checkRequired(field StructField) (bool, bool) {
}
return true, false
}
return false, false
return false, isHasRequiredRule
}
// getSourceDataValue 获取源数据值