Validate表单统一验证类使用手册
Npm
(opens new window)
Demo
(opens new window)
系统内置了一些过滤规则供大家使用
#
数据处理
#
trim
删除左右空格
#
removeSpace
删除全部空格
#
类型转换
#
toString
转换为字符串
#
toInt
转换为整数
#
toFloat
转换为浮点数
←
内置验证规则
独立验证
→