From 18b7dbfe7d95542919b2cbdc2e0c58cbb13afb25 Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Tue, 3 Dec 2024 11:48:08 +0800 Subject: [PATCH] 1 --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index e9b701a..edec5d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -40,7 +40,7 @@ const resetTimer = () => { } }; onMounted(() => { - // window.addEventListener("mousemove", resetTimer); - // window.addEventListener("keydown", resetTimer); + window.addEventListener("mousemove", resetTimer); + window.addEventListener("keydown", resetTimer); });