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; }