diff --git a/lib/tools/throttler.dart b/lib/tools/throttler.dart index 8cdf1304..a5b6e96f 100644 --- a/lib/tools/throttler.dart +++ b/lib/tools/throttler.dart @@ -53,6 +53,7 @@ class FunctionBlocker { bool _blocked = false; Duration duration; + //阻止函数执行 void block(Function function) { if (!_blocked) { _blocked = true;