防止连续点击

if(this.isClick) {
this.isClick = false;

//定时器
setTimeout(function() {
this.isClick = true;
}, 1000);//一秒内不能重复点击
}
原文地址:https://www.cnblogs.com/lixiaosong/p/15674988.html