Compare commits

..

2 Commits

Author SHA1 Message Date
3489cabed1 Merge branch 'master' into dev
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-14 22:13:04 +08:00
b2ac7f33f3 mod(custom): change
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 04:20:23 +08:00

View File

@@ -97,7 +97,9 @@ export function debounce(fn: Function, delay: number = 500) {
};
}
// 节流函数
/* @param fn 节流函数
* @param delay 节流时间
*/
export function throttle(fn: Function, delay: number) {
let timer: any = null;
return function (...args: any[]) {