Skip to content
On this page

Switch 开关

基本用法

使用 v-model:value 绑定值,@update:value 可监听值的变化;disabled 可禁用开关。

方形开关

使用 v-model:value 绑定值,@update:value 可监听值的变化;disabled 可禁用开关;添加 square 字段可改变开关形状。

Released under the MIT License.