0.2.5 • Published 5 years ago

@rrc-materials/cascader-form v0.2.5

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
5 years ago

CascaderForm

@rrc-materials/cascader-form for rrc

使用

yarn add @rrc-materials/cascader-form -S

基本用法

Attributes

参数说明可选值类型默认值
options配置项-Object-
form-attr表单属性(所有form表单相关的样式,校验规则等都通过该字段传入。具体可查看ElementUI-Object-

options

参数说明可选值类型默认值
label标签-String-
type单选还是多选radio/checkboxStringradio
prop字段名-String-
value字段初始值-StringNumber-
items该字段的所有可选项-Array-

items

参数说明可选值类型默认值
label单选框/多选框的label-String-
value单选框/多选框的value,未填写的时候默认是label-StringNumber-
form和options的参数一样-options-

Events

参数说明回调参数
change级联表单的值发生改变时候触发该事件级联表单的当前选中项