diff --git a/src/components/chat/ChatEditor.vue b/src/components/chat/ChatEditor.vue index b2ad60b..11dfa26 100644 --- a/src/components/chat/ChatEditor.vue +++ b/src/components/chat/ChatEditor.vue @@ -171,6 +171,8 @@ watch( (val) => { if (val) { data.value.reply_id = val.id + } else { + data.value.reply_id = null } } ) @@ -180,6 +182,8 @@ watch( (val) => { if (val) { data.value = val + } else { + resetEditor() } } ) diff --git a/src/layouts/settings.vue b/src/layouts/settings.vue index b95944a..589daa2 100644 --- a/src/layouts/settings.vue +++ b/src/layouts/settings.vue @@ -1,6 +1,6 @@