This commit is contained in:
Raistlin916 2017-08-09 12:15:58 +08:00
commit 5050275b1d

View File

@ -36,6 +36,11 @@ export default {
},
mounted() {
const pages = this.$el.querySelectorAll('.van-swipe-item')
if (pages.length <= 1) {
return
}
this.input = new Input(this.$el, {
listenMoving: true
});