@ -8,7 +8,8 @@ const Banner = {
}
},
created () {
this.updateBanner () this.timer = setInterval(this.updateBanner, 300000)
this.updateBanner()
this.timer = setInterval(this.updateBanner, 300000)
beforeDestroy () {
clearInterval(this.timer)