Appearance
通过checked设置是否开启
checked
通过设置 disabled 属性来禁止点击
disabled
通过判断 switch 组件是否拥有 checked 属性来判断是否被选中
switch