摘要: function debounce(func, waite) { let timerId = null return function(...args) { if (timerId) { clearTimeout(timerId) } timerId = setTimeout(() => { func(...args) }, wai... 阅读全文
posted @ 2019-03-25 10:11 zhoulixue 阅读(107) 评论(0) 推荐(0) 编辑