mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-03-07 16:24:01 +08:00
Pre Merge pull request !10 from wssam/N/A
This commit is contained in:
@@ -20,7 +20,6 @@ export function throttleFun(func, delay=500) {
|
||||
timer = setTimeout(() => {
|
||||
//执行前清空
|
||||
timer = null;
|
||||
console.log("执行了")
|
||||
func.apply(this, args);
|
||||
}, delay);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user