!10 删除console调试信息

感谢
This commit is contained in:
Aisen
2024-06-21 10:33:24 +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);
}