修改预设校验逻辑 #7

Open
opened 2025-05-20 01:07:02 +08:00 by ZhouXY108 · 0 comments
Owner

除本身带判空属性的校验逻辑(如 notNullnotEmpty 等)之外,其他预设的校验逻辑中,去除对 null 的判断。
当属性值为 null 时,可以直接视为校验通过。若要保证属性值不为 null,需使用 notNull 方法添加判空逻辑。

除本身带判空属性的校验逻辑(如 `notNull`、`notEmpty` 等)之外,其他预设的校验逻辑中,去除对 `null` 的判断。 当属性值为 `null` 时,可以直接视为校验通过。若要保证属性值不为 `null`,需使用 `notNull` 方法添加判空逻辑。
ZhouXY108 added the
enhancement
label 2025-05-20 01:32:15 +08:00
Sign in to join this conversation.
No description provided.