This commit is contained in:
yanran200730
2022-06-16 14:53:03 +08:00
parent 0d8942c198
commit f87bc45d4e

View File

@@ -198,14 +198,13 @@
},
mounted () {
this.$nextTick(() => {
document.body.addEventListener('touchmove', this.bindEvent, { passive: false })
})
// this.$nextTick(() => {
// document.body.addEventListener('touchmove', this.bindEvent, { passive: false })
// })
},
onUnload () {
uni.$off('cropper')
document.body.removeEventListener('touchmove', this.bindEvent)
},
methods: {