From 619497f9e1460e78dcd6341d271d90ca1f7478c2 Mon Sep 17 00:00:00 2001 From: lipenghui Date: Mon, 5 Feb 2024 15:48:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=8F=91=E9=80=81?= =?UTF-8?q?=E5=90=8E=E8=BE=93=E5=85=A5=E6=A1=86=E4=B8=BA=E6=B8=85=E7=A9=BA?= =?UTF-8?q?bug=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AppTextarea/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AppTextarea/index.vue b/src/components/AppTextarea/index.vue index ddfde04..828e579 100644 --- a/src/components/AppTextarea/index.vue +++ b/src/components/AppTextarea/index.vue @@ -88,12 +88,12 @@ function pressEnter(event: KeyboardEvent) { function handeleSend() { if (isEmpty(trim(value.value))) { message.warning('请输入内容') - setTimeout(() => { - value.value = '' - }, 0) return false } emit('send', value.value, fileUrl.value) + setTimeout(() => { + value.value = '' + }, 0) } function stopMessage() {