mounted() { this.timer = setInterval(function(){ //执行内容 }, 60000); },
beforeDestroy() { clearInterval(this.timer); }
//如果使用了弹层 可以在关闭弹层的事件清除定时器