定时器

This commit is contained in:
2022-08-01 11:32:39 +08:00
parent b27b67f8dd
commit ebbf2aa57c
5 changed files with 14 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ export default {
}, this.iTime)
},
toJump () {
window.clearInterval(this.timer)
clearInterval(this.timer)
this.page = this.page === 'one' ? 'two' : 'one'
setTimeout(() => {
this.swipePage()