var fandou = true
$(".begin").click(function () {
if (fandou){
fandou = false
$.ajax({
type: "post", //请求方式
url: "",
data: {
},
dataType: "json",
success: function (res) {
console.log(res)
fandou = true
},
});
}
})
函数防抖,节流
猜你喜欢
转载自blog.csdn.net/hql1024/article/details/103556802
今日推荐
周排行