Skip to content
On this page

Switch ​

切换栏组件,用于在不同选项之间切换。

Props ​

属性名类型默认值描述
switcherOptionsswitcherOptionsType切换栏选项。switcherOptionsType 是一个自定义类型,表示切换栏的选项。
valuestring切换栏当前指向的 key。
type'default'
'tag'
'default'切换栏的样式类型。

事件 ​

事件名参数类型描述
update:valuestring切换值发生变化时触发。

插槽 ​

无。