Switch 开关
规则
js
const rule = {
type:"switch",
title:"是否上架",
field:"is_show",
value:"1",
props: {
checkedChildren:"1",
unCheckedChildren:"0",
},
}
Props参考:TDesign_Switch
value :Number | String