[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example becaus
touch-action :当你触摸并按住触摸目标时候,禁止或显示系统默认菜单。
touch-action取值有一下两种
none:系统默认菜单被禁用
default:系统默认菜单不被禁用
<swiper class="bd" auto height="90px" direction="vertical" :interval=3000 :show-dots="false"> <swiper-item class="problem_title" v-for="(items, index) in new_recommendQA" :key="index"> <p class="title" v-for="(item, i) in items" :key="i" @click='getQA(item)'> {{item}} </p> </swiper-item> </swiper>
css添加样式
.problem_title
display: block;
padding: 6px 0;
touch-action: none;