如果页面缓存之后 不生效 亲测了下
beforeDestroy() {
this.$once('hook:beforeDestroy', () => {
clearInterval(this.timer)
})
},
如果页面缓存之后 不生效 亲测了下
beforeDestroy() {
this.$once('hook:beforeDestroy', () => {
clearInterval(this.timer)
})
},