微信小程序实现radio点击选中,再次点击取消选中

js中:

page({  data: {    check:true,     },radiocon: function (e) {    var check = this.data.check;      check=!check;        this.setData({      check: check    })  },})

wxml中:

<radio  checked='{{check}}'  bindtap='radiocon'></radio>

微信小程序

TAG标签: 微信小程序如何关闭微信小程序

http://www.xiaochengxub.com/read-106883.html