支付宝小程序 滑块使用switch

it2023-02-27  100

<switch checked="{{checked}}" onChange="switch1Change" aria-label="{{switch1 ? 'switch opened' : 'switch closed'}}" />

checked与switch1 同步走 才有效果 同时为true 为选中 同时为false 为关闭

最新回复(0)