摘要: /** * 防抖 * * @param {*} f * @param {*} wait * @return {*} */ function debounce(f, wait) { let timer = null; return (...args) => { if(timer) { clearTim 阅读全文
posted @ 2021-09-06 13:22 鬼鬼丶 阅读(41) 评论(0) 推荐(0) 编辑