this.timer = setInterval(()=>{ //需要做的事情},1000);. 1. 3)然后在页面销毁的生命周期函数(beforeDestroy())中销毁定时器 export default{ ...
確定! 回上一頁