用户多次点击-处理办法

做一个标杆,不让用户频繁点击

<div @click="goto">1213</div>
goto(){
            if(this.aa){
                this.aa=false;
                //do  something
                //做完了之后
                this.aa='123';
            }
        }

为什么不要让用户频繁的点击

用户频繁的点击。这样会消耗性能
还有可能要报错。导致发送叠加数据给后端
原文地址:https://www.cnblogs.com/IwishIcould/p/12846014.html