From 65f86f41dedbbbb7030e2f37ce3e001bbca4923a Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期四, 15 五月 2025 13:03:25 +0800
Subject: [PATCH] 查询日历带适用工厂
---
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