uniapp 移动端防止点击事件穿透

在子元素上添加点击事件:

@tap.stop="testFn($event)"

testFn (e) {

  e.preventDefault();

}

原文地址:https://www.cnblogs.com/edwardwzw/p/13890774.html