From 31c00e1271af5a6117b5b458293a416158eaf013 Mon Sep 17 00:00:00 2001 From: Coooder-X <55648333+Coooder-X@users.noreply.github.com> Date: Mon, 1 Feb 2021 15:51:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE-?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=A1=B9=E7=9B=AE=EF=BC=8C=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E5=9B=9E=E8=BD=A6=E4=BF=9D=E5=AD=98=E5=8A=9F=E8=83=BD=20(#1329?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/settings/project/MsProject.vue | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/frontend/src/business/components/settings/project/MsProject.vue b/frontend/src/business/components/settings/project/MsProject.vue index fdfddad5e7..ac1bc85cc5 100644 --- a/frontend/src/business/components/settings/project/MsProject.vue +++ b/frontend/src/business/components/settings/project/MsProject.vue @@ -270,22 +270,6 @@ openEnvironmentConfig(project) { this.$refs.environmentConfig.open(project.id); }, - handleEvent(event) { - let enter = event.keyCode; - let ctrl = event.ctrlKey; - let shift = event.shiftKey; - let alt = event.altKey; - if(enter === 13 && ctrl && !shift && !alt) { - //ctrl + enter - this.form.description += '\n'; - } - if(enter === 13 && !ctrl && shift && !alt) { - //shift + enter - } - if(enter === 13 && !ctrl && !shift && !alt) { - this.submit('form') - } - }, }, created() { document.addEventListener('keydown', this.handleEvent)