删除console调试信息

Signed-off-by: wssam <573616439@qq.com>
This commit is contained in:
wssam
2024-04-25 09:15:50 +00:00
committed by Gitee
parent d0f4356c9f
commit c6bbf0a829

View File

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