From 813fae2647454fb757880394870d931ff3d59e8e Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Mon, 11 Jul 2022 18:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=87=BA=E5=90=8E?= =?UTF-8?q?=20F5=20=E5=88=B7=E6=96=B0=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layout/index.vue b/src/layout/index.vue index 1321d08..d7fb1f6 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -47,6 +47,9 @@ onMounted(() => { } }) }) +onUnmounted(() => { + proxy.$hotkeys.unbind('f5') +}) provide('reload', reload) function reload() { router.push({