mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[bugfix] Picker should prevent default touchmove (#432)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="van-picker__title" v-if="title" v-text="title" />
|
||||
</slot>
|
||||
</div>
|
||||
<div class="van-picker__columns">
|
||||
<div class="van-picker__columns" @touchmove.prevent>
|
||||
<picker-column
|
||||
v-for="(item, index) in currentColumns"
|
||||
:key="index"
|
||||
@@ -47,7 +47,7 @@ export default create({
|
||||
columns: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
@@ -64,7 +64,7 @@ export default create({
|
||||
watch: {
|
||||
columns() {
|
||||
this.initColumns();
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
Reference in New Issue
Block a user