2023年1月8日
摘要: // 防抖函数和节流函数, 使用方法antiShaking(() => { // 执行动作 // }) let timer = null; //time用来控制事件的触发 // 防抖 export function antiShaking(functionItem, timerType = "tim 阅读全文
posted @ 2023-01-08 11:45 occc 阅读(34) 评论(0) 推荐(0)