Pre Merge pull request !10 from wssam/N/A

This commit is contained in:
wssam
2024-06-21 10:24:14 +00:00
committed by Gitee

View File

@@ -20,7 +20,6 @@ export function throttleFun(func, delay=500) {
timer = setTimeout(() => {
//执行前清空
timer = null;
console.log("执行了")
func.apply(this, args);
}, delay);
}