From c64c8328fc35ce800ad873895ce835eb094d9869 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 7 May 2024 09:40:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/study/exam.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/study/exam.vue b/pages/study/exam.vue index b7d9651..943ac4a 100644 --- a/pages/study/exam.vue +++ b/pages/study/exam.vue @@ -356,7 +356,9 @@ let lastExecTime = 0; return function (...args) { const now = Date.now(); + console.log(now,'now') if (now - lastExecTime >= delay) { + console.log('执行了') func.apply(this, args); lastExecTime = now; }