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 cf7ca1d7fa1bd12a121d9123797f9bf8d495fd09..3d4b5df044d1e9efeeed5c1e6c9b97b03f1cefee 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 77003b912ed0d4c485bb93e0e6f82329e50d1c72..ba70e21f2a9fb449b48df91e7e364488e3e4e224 100644 --- a/components/uni-im-editor/uni-im-editor.vue +++ b/components/uni-im-editor/uni-im-editor.vue @@ -19,7 +19,7 @@