@click快速点击,发生多次触发


2.代码示例:
//html
<el-button :loading="submitLoading" type="primary" @click="submitForm">确 定</el-button>
data() {
return {
submitLoading:false,
}
}
//方法
/** 提交按钮 */
submitForm() {
this.submitLoading = true;
updateTenantPackage({}).then((response) => {
this.submitLoading = false;
this.getList();
});
return;
},


![[leetcode hot 150]第四百五十二题,用最少数量的箭引爆气球](https://img-blog.csdnimg.cn/direct/669b0e3aac2b4f39af4984c9b77acbf0.png)





![Git使用[推送大于100M的文件后解救办法]](https://img-blog.csdnimg.cn/direct/513f544501c74b22bd164ba7d2c5e77c.png)










![[译]全栈Redux实战](https://img-home.csdnimg.cn/images/20230724024159.png?origin_url=http%3A%2F%2Fteropa.info%2Fimages%2Fvote_server_tree_winner.png&pos_id=img-OTAby9CG-1720014975855)