Skip to content

Cascader 级联选择器

Used to select from a multi-level data set.

Basic Usage

loading

API

PropDescriptionTypeDefault
modelValueSelected value(string | number)[][]
optionsData optionsCascaderOption[][]
placeholderPlaceholder textstring'请选择'
disabledWhether disabledbooleanfalse
sizeSize of the input'xs' | 'sm' | 'md' | 'lg' | 'xl''md'

CascaderOption

PropertyDescriptionType
valueValue of the optionstring | number
labelLabel of the optionstring
childrenSub-optionsCascaderOption[]
disabledWhether disabledboolean

Events

EventDescription
update:modelValueEmitted when value changes
changeEmitted when value changes

MIT License