mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
361 B
361 B
Switch
可选框,和 checkbox 完全等价。
type
请设置成switch
option
选项说明trueValue
默认true
falseValue
默认false
- 更多配置请参考 FormItem
{
"name": "switch",
"type": "switch",
"label": "Switch",
"option": "开关说明"
}