diff --git a/src/components/ChatInput.vue b/src/components/ChatInput.vue index 7276361..115cd58 100644 --- a/src/components/ChatInput.vue +++ b/src/components/ChatInput.vue @@ -215,6 +215,7 @@ const initWebSocket = () => { }; webSocket.value.onclose = () => { emits('setChatLoading', false); + emits('toggleUserBehavior', false); }; return new Promise((resolve, reject) => { webSocket.value.onopen = (e) => {