在遮罩层的最外层view 添加onTouchMove事件:
<View onTouchMove={ this.handleTochMove }></View>
实现handleTochMove方法:
handleTouchMove(e: ITouchEvent) {
e.preventDefault()
e.stopPropagation()
}
在遮罩层的最外层view 添加onTouchMove事件:
<View onTouchMove={ this.handleTochMove }></View>
实现handleTochMove方法:
handleTouchMove(e: ITouchEvent) {
e.preventDefault()
e.stopPropagation()
}