diff --git a/src/components/chatInput.vue b/src/components/chatInput.vue index 2b04c22..54a0d7f 100644 --- a/src/components/chatInput.vue +++ b/src/components/chatInput.vue @@ -18,6 +18,11 @@ export default { text: "" } }, + watch: { + modelValue(v) { + this.text != v && (this.text = v) + } + }, methods: { handleShortKey(e) { if (e.ctrlKey && e.keyCode == 13) {