From b29c54b56162dd669e3dbd0b8782d9c6c54a4dfd Mon Sep 17 00:00:00 2001 From: v_xugzhou <941071842@qq.com> Date: Wed, 8 Nov 2023 11:28:07 +0800 Subject: [PATCH] =?UTF-8?q?minor:=20input=E7=B2=98=E8=B4=B4=E7=A6=81?= =?UTF-8?q?=E6=AD=A2=E6=8D=A2=E8=A1=8C&&=E6=B7=BB=E5=8A=A0=E3=80=90?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=8E=86=E5=8F=B2=E3=80=91=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/RenderForm/tags/TagInput.vue | 2 ++ .../components/common/TemplateCanvas/PalettePanel/index.vue | 6 ++---- frontend/desktop/src/config/i18n/cn.js | 3 ++- frontend/desktop/src/config/i18n/en.js | 3 ++- frontend/desktop/src/pages/task/ClockedList/index.vue | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue b/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue index a9a2711884..633be6ec53 100644 --- a/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue +++ b/frontend/desktop/src/components/common/RenderForm/tags/TagInput.vue @@ -484,6 +484,7 @@ const clp = (e.originalEvent || e).clipboardData if (clp === undefined || clp === null) { text = window.clipboardData.getData('text') || '' + text = text.split('\n').join('') if (text !== '') { if (window.getSelection) { const newNode = document.createElement('span') @@ -495,6 +496,7 @@ } } else { text = clp.getData('text/plain') || '' + text = text.split('\n').join('') text && document.execCommand('insertText', false, text) } } diff --git a/frontend/desktop/src/components/common/TemplateCanvas/PalettePanel/index.vue b/frontend/desktop/src/components/common/TemplateCanvas/PalettePanel/index.vue index 75cd4e75ed..1d65dc2f7b 100755 --- a/frontend/desktop/src/components/common/TemplateCanvas/PalettePanel/index.vue +++ b/frontend/desktop/src/components/common/TemplateCanvas/PalettePanel/index.vue @@ -34,14 +34,12 @@