bug
This commit is contained in:
@@ -198,14 +198,13 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
this.$nextTick(() => {
|
// this.$nextTick(() => {
|
||||||
document.body.addEventListener('touchmove', this.bindEvent, { passive: false })
|
// document.body.addEventListener('touchmove', this.bindEvent, { passive: false })
|
||||||
})
|
// })
|
||||||
},
|
},
|
||||||
|
|
||||||
onUnload () {
|
onUnload () {
|
||||||
uni.$off('cropper')
|
uni.$off('cropper')
|
||||||
document.body.removeEventListener('touchmove', this.bindEvent)
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user