From 8d141c19086a0e88402c85702599e7748b2a6cd4 Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期一, 12 五月 2025 19:59:03 +0800
Subject: [PATCH] 增加tester配置
---
src/utils/throttle.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/utils/throttle.js b/src/utils/throttle.js
index 530320a..17ced74 100644
--- a/src/utils/throttle.js
+++ b/src/utils/throttle.js
@@ -1,9 +1,7 @@
export function throttle(func, delay) {
let lastTime = 0;
-
return function(...args) {
const now = Date.now();
-
if (now - lastTime >= delay) {
func.apply(this, args);
lastTime = now;
--
Gitblit v1.9.3