钉钉e应用点击按钮触发两次点击事件的解决办法

利用事件冒泡原理

使用e应用中的catchTap方法,阻止向上冒泡
例,<view class="blue" catchTap="onHasQuiz" a:if="{{item.hasQuiz>0}}">随堂考试</view>

猜你喜欢

转载自blog.csdn.net/qq_43119205/article/details/84238564