this.countdown = 60; //设置倒计时秒数
this.interval = setInterval(() => {
this.countdown--; //描述相减
if (this.countdown <= 0) {//退出时销毁定时器
clearInterval(this.interval)
}
}, 1000)