Skip to content

Commit 81791a3

Browse files
committed
修复根元素无法写@touchmove.stop.prevent的问题
1 parent 3927aa9 commit 81791a3

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

uview-ui/components/u-car-keyboard/u-car-keyboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view class="u-keyboard" @touchmove.stop.prevent>
2+
<view class="u-keyboard" @touchmove.stop.prevent="() => {}">
33
<view class="u-keyboard-grids">
44
<block>
55
<view class="u-keyboard-grids-item" v-for="(group, i) in abc ? EngKeyBoardList : areaList" :key="i">

uview-ui/components/u-dropdown-item/u-dropdown-item.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view class="u-dropdown-item" v-if="active" @touchmove.stop.prevent @tap.stop.prevent>
2+
<view class="u-dropdown-item" v-if="active" @touchmove.stop.prevent="() => {}" @tap.stop.prevent="() => {}">
33
<view class="u-dropdown-item__options" v-if="!$slots.default">
44
<u-cell-group>
55
<u-cell-item @click="cellClick(item.value)" :arrow="false" :title="item.label" v-for="(item, index) in options" :key="index" :title-style="{

uview-ui/components/u-mask/u-mask.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view class="u-mask" hover-stop-propagation :style="[maskStyle, zoomStyle]" @tap="click" @touchmove.stop.prevent :class="{
2+
<view class="u-mask" hover-stop-propagation :style="[maskStyle, zoomStyle]" @tap="click" @touchmove.stop.prevent="() => {}" :class="{
33
'u-mask-zoom': zoom,
44
'u-mask-show': show
55
}">

uview-ui/components/u-no-network/u-no-network.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view class="u-no-network" v-if="!isConnected" :style="{'z-index': uZIndex}" @touchmove.stop.prevent="">
2+
<view class="u-no-network" v-if="!isConnected" :style="{'z-index': uZIndex}" @touchmove.stop.prevent="() => {}">
33
<view class="u-inner">
44
<image class="u-error-icon" :src="image" mode="widthFix"></image>
55
<view class="u-tips">

uview-ui/components/u-number-keyboard/u-number-keyboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view class="u-keyboard" @touchmove.stop.prevent>
2+
<view class="u-keyboard" @touchmove.stop.prevent="() => {}">
33
<view class="u-keyboard-grids">
44
<view
55
class="u-keyboard-grids-item"

uview-ui/components/u-tabbar/u-tabbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view v-if="show" class="u-tabbar" @touchmove.stop.prevent>
2+
<view v-if="show" class="u-tabbar" @touchmove.stop.prevent="() => {}">
33
<view class="u-tabbar__content safe-area-inset-bottom" :style="{
44
height: $u.addUnit(height),
55
backgroundColor: bgColor,

0 commit comments

Comments
 (0)