no message

This commit is contained in:
kuaifan 2022-05-26 20:48:44 +08:00
parent 66a5428ec5
commit 31b490916d

View File

@ -25,15 +25,15 @@ export default {
},
mounted() {
window.addEventListener('touchstart', this.touchstart)
window.addEventListener('touchmove', this.touchmove)
window.addEventListener('touchend', this.touchend)
document.addEventListener('touchstart', this.touchstart)
document.addEventListener('touchmove', this.touchmove)
document.addEventListener('touchend', this.touchend)
},
beforeDestroy() {
window.removeEventListener('touchstart', this.touchstart)
window.removeEventListener('touchmove', this.touchmove)
window.removeEventListener('touchend', this.touchend)
document.removeEventListener('touchstart', this.touchstart)
document.removeEventListener('touchmove', this.touchmove)
document.removeEventListener('touchend', this.touchend)
},
computed: {