微信小程序中model:*双向绑定属性

12 阅读1分钟
  • 在组件对应的属性前加上model:即可将属性值变为双向绑定数据

示例

  <checkbox model:checked="{{check}}" />