From 6627d4724e4ba01396e308832078f5e2d6a3ad58 Mon Sep 17 00:00:00 2001 From: Simler Li Date: Tue, 17 May 2022 16:15:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=98=B2=E6=8A=96demo?= =?UTF-8?q?=E7=9A=84=E6=96=87=E5=AD=97=E8=AF=B4=E6=98=8E=20(#270)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/able/debounce.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/able/debounce.vue b/src/views/able/debounce.vue index d6431eb7b..474fa3e80 100644 --- a/src/views/able/debounce.vue +++ b/src/views/able/debounce.vue @@ -28,7 +28,7 @@ const throttleClick = useThrottleFn(handle, 1000, false); 秒内又触发了事件,则会重新计算函数执行时间。 - 连续点击我,只会执行最后一次点击事件,立即执行 + 连续点击我,只会执行第一次点击事件,立即执行 连续点击我,只会执行最后一次点击事件,延后执行