vue中setTimeout之前 一定要 clearTimeout 否则将失效 window.clearTimeout(this.singleClick) // 这句很重要,否则不起作用 this.singleClick = window.setTimeout(() => {