data () { return { timer: 0 } }, //模块初始化时打开定时器 created () { this.timer = setInterval(() => { //do something //定时器的回调函数中 ...
確定! 回上一頁