Skip to content

ModelSelect 模型选择 ​

基于 Select 的模型切换器。

API ​

Props ​

属性说明类型默认值必填
modelValue / v-model当前模型值string—否
options模型选项,结构同 SelectOptionSelectOption[][]否
disabled禁用booleanfalse否
placeholder占位文案string'选择模型'否

Events ​

事件名说明回调参数
update:modelValuev-model 更新(value: string | number | boolean | null) => void
change选择变化(value: string | number | boolean | null) => void

Slots ​

无;选项通过 options 传入。