diff --git a/src/views/Jyh/AI/Home/index.vue b/src/views/Jyh/AI/Home/index.vue index ef07fa3..273fcdb 100644 --- a/src/views/Jyh/AI/Home/index.vue +++ b/src/views/Jyh/AI/Home/index.vue @@ -357,6 +357,12 @@ const fetchFollowupQuestions = async (question,df_id,sql_id='') => { console.error('查询相关问题失败:', error); // Message.error('创建会话失败,请重试'); } + nextTick(() => { + conversationRef.value?.scrollTo({ + top: conversationRef.value.scrollHeight, + behavior: 'smooth', + }); + }); }; const handleSelectConv = (convId: string) => {