We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a656091 commit 5aec269Copy full SHA for 5aec269
frontend/src/views/chat/index.vue
@@ -730,10 +730,12 @@ const sendMessage = async ($event: any = {}) => {
730
731
loading.value = true
732
isTyping.value = true
733
- scrollTopVal = innerRef.value!.clientHeight
734
- scrollTime = setInterval(() => {
735
- scrollBottom()
736
- }, 300)
+ if (isCompletePage.value) {
+ scrollTopVal = innerRef.value!.clientHeight
+ scrollTime = setInterval(() => {
+ scrollBottom()
737
+ }, 300)
738
+ }
739
await assistantPrepareSend()
740
const currentRecord = new ChatRecord()
741
currentRecord.create_time = new Date()
0 commit comments