diff --git a/src/components/business/Chat/index.vue b/src/components/business/Chat/index.vue
index 98fe80c..69b80c9 100644
--- a/src/components/business/Chat/index.vue
+++ b/src/components/business/Chat/index.vue
@@ -78,8 +78,10 @@ async function handleSubmit() {
}
function handleEnter(event: KeyboardEvent) {
- if (event.key === 'Enter')
+ if (event.key === 'Enter' && !event.shiftKey) {
+ event.preventDefault()
handleSubmit()
+ }
}
function addMessage(
@@ -189,7 +191,9 @@ watch(