在组件父级元素增加事件
@touchmove.stop.prevent=“”
这里拿u-popup组件举例,找到u-popup根元素,在view加上事件
<template>
<view class="u-popup" @touchmove.stop.prevent="">
在组件父级元素增加事件
@touchmove.stop.prevent=“”
这里拿u-popup组件举例,找到u-popup根元素,在view加上事件
<template>
<view class="u-popup" @touchmove.stop.prevent="">