摘要: // 防抖(输入框可用) debounceFun (fun, time = 300){ clearTimeout(this.debounceTimer) this.debounceTimer = setTimeout(() => { fun() }, time) }, // 节流 throttleF 阅读全文
posted @ 2023-05-09 15:35 fnasklf 阅读(7) 评论(0) 推荐(0) 编辑