摘要: 1.准备好防抖函数 function debounce(func, wait) { let timeout; return function (...args) { if (timeout) clearTimeout(timeout); let isTime = !timeout; timeout 阅读全文
posted @ 2022-07-19 21:26 关关大大 阅读(890) 评论(0) 推荐(0) 编辑