摘要: 节流: function throttle(fn, interval = 300) { let canRun = true; return function () { if (!canRun) return; canRun = false; setTimeout(() => { fn.apply(t 阅读全文
posted @ 2021-05-15 17:35 aaaadioppa 阅读(69) 评论(0) 推荐(0)
返回顶端