界面如下,就是简单多选功能,但是运行后,第一次点击复选框,发现选中了,又自动取消选中了,大概1秒左右,
查看控制台,发现bindchange被调了两次,求大神解惑!!
复选框代码如下
{{item.name}} {{item.value}}
对应js方法:

界面:


微信小程序开发问题解答
微信小程序开发者回答:
把代码都发出来,我复制下看看
微信小程序开发者回答:
加个setTimeout试一下,或者每次选择的时候加一个状态来标记一下,根据标记来判断是否能选或不能选
本文网址:http://www.91bianli.com/weixinxiaochengxu/18461.html