Introduction
安装
基本用法
配合 Vue 使用
多语言
验证规则和验证函数
声明验证规则
自定义验证函数
全局对象 API
实例属性 API
实例事件
实例方法 API
.setTarget()
.addRule()
.setDefaultRuleOption()
.validate()
ValidateOption
.isValid()
.getErrors()
.getInvalidProps()
.getPropValue()
.getRelatedProps()
.isPropNeedCheck()
.isPropValid()
.getPropErrors()
.reset()
.on()
.off()
.onPending()
Published with GitBook
.isPropNeedCheck()
.isPropNeedCheck(prop):Boolean
是否为指定属性声明了验证规则,如果无,则说明无需验证,返回 false。否则返回 true。
参数
prop:String
属性名
results matching "
"
No results matching "
"