提交 bb3d21bb 编写于 作者: D DebugIsFalse

Update [id].vue

上级 9f1d8ae4
...@@ -218,6 +218,8 @@ const handleMessage = (event) => { ...@@ -218,6 +218,8 @@ const handleMessage = (event) => {
asking.value = false asking.value = false
resetAnsLoading() resetAnsLoading()
handleStopGenerate() handleStopGenerate()
// 重新生成相关问题
fetchLinkedQuestion(askingData.value.question)
return return
} }
handleFormFetchData(event.data) handleFormFetchData(event.data)
...@@ -272,8 +274,6 @@ const generateFetchData = (query) => { ...@@ -272,8 +274,6 @@ const generateFetchData = (query) => {
onerror: handleError, onerror: handleError,
controller: aiChatController controller: aiChatController
}) })
// 重新生成相关问题
fetchLinkedQuestion(query)
} }
useHead({ useHead({
title: `${state.query} - GitBot` title: `${state.query} - GitBot`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册