From d17caf42af8d5510cd8625c62f427029eb316195 Mon Sep 17 00:00:00 2001 From: fofolee Date: Mon, 16 May 2022 11:03:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=AB=E6=8D=B7=E9=94=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MonacoEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MonacoEditor.vue b/src/components/MonacoEditor.vue index 7d1128a..377ec2e 100644 --- a/src/components/MonacoEditor.vue +++ b/src/components/MonacoEditor.vue @@ -234,7 +234,7 @@ export default { ); // ctrl + space 快速 console.log this.rawEditor.addCommand( - monaco.KeyMod.CtrlCmd | monaco.KeyCode.Space, + monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyE, () => { that.$emit("keyStroke", "log", that.getSelectionOrLineContent()); }