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