[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;
