111117.29

This commit is contained in:
zoujiandong
2025-07-29 15:39:33 +08:00
parent 071ab8de73
commit 4ca1b9cf42
71 changed files with 4259 additions and 652 deletions
+15
View File
@@ -0,0 +1,15 @@
"use strict";
const throttle = function(fn, wait = 1e3) {
var flag = true;
return function() {
if (flag) {
fn.apply(this, arguments);
flag = false;
setTimeout(() => {
flag = true;
}, wait);
}
};
};
exports.throttle = throttle;
//# sourceMappingURL=../../.sourcemap/mp-weixin/utils/throttle.js.map