不然耗费性能,且容易造成代码混乱 beforeDestroy() { // js提供的clearInterval方法用来清除定时器 clearInterval(this.timer); }, // beforeDestroy ...
確定! 回上一頁