How to prevent page scrolling when uniapp adds a mask

Not much nonsense, the above code adds a method to the corresponding mask, which can be an empty method 

@touchmove.stop.prevent="moveHandle"
//html
<view class="screen"
			:style="{top : `${screenTop + CUSTOM_BAR_HEIGHT}px`,height : `${SCREEN_VIEW_HEIGHT - screenTop}px`}"
			v-show="screenVisable" @touchmove.stop.prevent="moveHandle">
			<view class="screen-content-main">
				
			</view>

		</view>



//js
moveHandle(){
				
			},

Guess you like

Origin blog.csdn.net/qq_37564189/article/details/118493159