簡單說明使用vue.js 搭配setInterval 來製作一個計時器的方法。 ... if(this.time==0){ clearInterval(this.timer) } } }, beforeDestroy() ...
確定! 回上一頁