From e0d0de4baf3fddae30b72834f49f0fa0bca50454 Mon Sep 17 00:00:00 2001 From: layyback <505187749@qq.com> Date: Wed, 23 Mar 2022 11:11:35 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20fix:=E4=BF=AE=E5=A4=8Dctrl=E7=AD=89?= =?UTF-8?q?=E7=83=AD=E9=94=AE=E4=BF=AE=E6=94=B9=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature/src/views/settings/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feature/src/views/settings/index.vue b/feature/src/views/settings/index.vue index e5fc64d..b1a29f7 100644 --- a/feature/src/views/settings/index.vue +++ b/feature/src/views/settings/index.vue @@ -184,15 +184,15 @@ const changeShortCut = (e, key) => { } if (e.ctrlKey && e.keyCode !== 17) { const compose = `Ctrl+${keycodes[e.keyCode].toUpperCase()}`; - state.perf.shortCut[key] = compose; + state.shortCut[key] = compose; } if (e.shiftKey && e.keyCode !== 16) { const compose = `Shift+${keycodes[e.keyCode].toUpperCase()}`; - state.perf.shortCut[key] = compose; + state.shortCut[key] = compose; } if (e.metaKey && e.keyCode !== 93) { const compose = `Command+${keycodes[e.keyCode].toUpperCase()}`; - state.perf.shortCut[key] = compose; + state.shortCut[key] = compose; } };