Cómo evitar el desplazamiento de página cuando uniapp agrega una máscara

No es mucha tontería, el código anterior agrega un método a la máscara correspondiente, que puede ser un método vacío 

@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(){
				
			},

Supongo que te gusta

Origin blog.csdn.net/qq_37564189/article/details/118493159
Recomendado
Clasificación