From 881fc5aae1348e769840cbf056b28dfe8f5bac3a Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Fri, 21 Jun 2024 12:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF=E4=BB=85=E6=8F=92=E5=85=A5?= =?UTF-8?q?=E8=A1=A8=E6=83=85=E5=8C=85=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=EF=BC=8C=E6=B6=88=E6=81=AF=E5=8F=91=E9=80=81=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/uni-im-chat-input/uni-im-chat-input.vue | 5 ++++- components/uni-im-editor/uni-im-editor.vue | 13 +++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/components/uni-im-chat-input/uni-im-chat-input.vue b/components/uni-im-chat-input/uni-im-chat-input.vue index cf7ca1d..3d4b5df 100644 --- a/components/uni-im-chat-input/uni-im-chat-input.vue +++ b/components/uni-im-chat-input/uni-im-chat-input.vue @@ -26,7 +26,7 @@ - + @@ -199,6 +199,9 @@ this.$emit('update:modelValue', e.value) this.$emit('input',e) }, + updateModelValue({value}) { + this.$emit('update:modelValue', value) + }, focus() { // console.log('focus'); this.$refs.editor.callRmd('$focus') diff --git a/components/uni-im-editor/uni-im-editor.vue b/components/uni-im-editor/uni-im-editor.vue index 77003b9..ba70e21 100644 --- a/components/uni-im-editor/uni-im-editor.vue +++ b/components/uni-im-editor/uni-im-editor.vue @@ -19,7 +19,7 @@