摘要: debonce 防抖,在 wait 时间内只执行最后一次 高频率触发的事件,在指定的单位时间内,只响应最后一次 function myDebounce(fn, wait = 0) { let timer = null; function debounce() { let _context = thi 阅读全文
posted @ 2021-12-06 18:13 远方的少年🐬 阅读(38) 评论(0) 推荐(0) 编辑