<div style={{ zIndex: 1000, width: "100%", height: "4rem", position: "relative" }}>
<div style={{ position: 'absolute', top: "33%", left: "45%", width: '100%', height: '100%', pointerEvents: "none" }}><img src="./images/common/loading/loading.gif" style={{
width: '40px',
height: '40px'
}} /></div>
</div>
添加pointerEvents: "none" 默认不拦截点击事件
第二种方法,原生拦截
this.refs.mask.ontouchmove = function (e) {
e.preventDefault()
}