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
.getRelatedProps()
.getRelatedProps(prop):[String]
获取和指定属性相关联的属性。
这里的
相关联
指的是这些属性和指定属性设置了组合验证规则。
参数
prop:String
验证目标的属性
results matching "
"
No results matching "
"