From 5734faa5fcddafe28406983b049e904751b83f90 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 9 Jul 2024 17:42:30 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90todo=E3=80=91keydown.shift.enter=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA@=E8=8A=8B=E8=89=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/chat/index/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ai/chat/index/index.vue b/src/views/ai/chat/index/index.vue index 724c67ce..229b8959 100644 --- a/src/views/ai/chat/index/index.vue +++ b/src/views/ai/chat/index/index.vue @@ -365,7 +365,7 @@ const handlePromptInput = (event) => { isComposing.value = false }, 400) } -// TODO @fan:是不是可以通过 @keydown.enter、@keydown.shift.enter 来实现,回车发送、shift+回车换行;主要看看,是不是可以简化 isComposing 相关的逻辑 +// TODO @芋艿:是不是可以通过 @keydown.enter、@keydown.shift.enter 来实现,回车发送、shift+回车换行;主要看看,是不是可以简化 isComposing 相关的逻辑 const onCompositionstart = () => { isComposing.value = true }