mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-28 04:40:37 +00:00
no message
This commit is contained in:
parent
66a5428ec5
commit
31b490916d
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user