mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 11:13:26 +00:00
no message
This commit is contained in:
parent
66a5428ec5
commit
31b490916d
@ -25,15 +25,15 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
window.addEventListener('touchstart', this.touchstart)
|
document.addEventListener('touchstart', this.touchstart)
|
||||||
window.addEventListener('touchmove', this.touchmove)
|
document.addEventListener('touchmove', this.touchmove)
|
||||||
window.addEventListener('touchend', this.touchend)
|
document.addEventListener('touchend', this.touchend)
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
window.removeEventListener('touchstart', this.touchstart)
|
document.removeEventListener('touchstart', this.touchstart)
|
||||||
window.removeEventListener('touchmove', this.touchmove)
|
document.removeEventListener('touchmove', this.touchmove)
|
||||||
window.removeEventListener('touchend', this.touchend)
|
document.removeEventListener('touchend', this.touchend)
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user