From 271214f32a5398c9090566bff57e6f0df227786f Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Wed, 4 Dec 2024 10:06:23 +0800 Subject: [PATCH] gx --- 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); });