Skip to content
On this page

Radio 单选框

基本用法

使用 v-model:value 绑定值,@change 可监听值的变化;name 用于区分不同的单选框组合,disabled 可禁用单选框,checked 表示选中状态。

单选框组合

使用 u-radio-group 包裹 u-radioname 区分单选框组合,v-model:value 绑定值。

单选框按钮组

使用 u-radio-group 包裹 u-radio-buttonname 区分单选框组合,v-model:value 绑定值。

Released under the MIT License.