watch: { /** 监听 */ listening (val) { /** 自定义事件 */ var that = this for (var i = 1; i <= 10; i++) { (function (k) { setTimeout(() => { for (var j = 0; j < that.eventList.length; j++) { --k-- } }, (k - 1) * 700) })(i) } } }