Micro-channel small program to solve the bubble problem bindchange

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/xiaoningboke/article/details/102724494

Original link: small revision bill off
Greatly do a small micro-channel program checkbox when uses bindchangethis function to achieve the realization of multiple choice, but small series of problems to be solved bubble, this time found that catchchangethis method can not actually solve the problem, can not stop bubbling, after a series of attempts finally found a solution: add a checkbox view, to view a catchtap add operation, pointing to an empty function, bubbling into view when, in the finale on these . Code is implemented as follows:

 <view catchtap="catchtap">
      <checkbox value="{{_id}}" checked="{{item.checked}}" />
 </view>

Original link: small revision bill off

Guess you like

Origin blog.csdn.net/xiaoningboke/article/details/102724494