this.lock = 0
get() {
if (this.lock == 1) {
return
}
this.lock = 1
setTimeout(() => {
this.lock =0
}, 2000) //按钮执行加锁
函数接口加锁 在.then 里面 this.lock = 0 //
},