提交 1df5e914 编写于 作者: D DebugIsFalse

fix: 删除无用函数

上级 7c77e6ec
...@@ -91,7 +91,6 @@ const data = ref([ ...@@ -91,7 +91,6 @@ const data = ref([
{ question: state.query, desLoading: true } { question: state.query, desLoading: true }
]) ])
const recommendQuestions = ref([]) const recommendQuestions = ref([])
const continueQuestion = ref(null)
// git url // git url
const baseGitUrl = computed(() => { const baseGitUrl = computed(() => {
const endWidthGit = state.gitPath.endsWith('.git') const endWidthGit = state.gitPath.endsWith('.git')
...@@ -107,9 +106,6 @@ const sourceCount = computed(() => { ...@@ -107,9 +106,6 @@ const sourceCount = computed(() => {
return currentData.source.length return currentData.source.length
}) })
let asking = ref(false) let asking = ref(false)
const handleClearInput = () => {
continueQuestion.value = ''
}
const handleContinueAsk = (question) => { const handleContinueAsk = (question) => {
if (asking.value) return if (asking.value) return
isAutoToBottom.value = true isAutoToBottom.value = true
...@@ -117,7 +113,6 @@ const handleContinueAsk = (question) => { ...@@ -117,7 +113,6 @@ const handleContinueAsk = (question) => {
editIndex.value = data.value.length editIndex.value = data.value.length
createGenerateInitItem(question) createGenerateInitItem(question)
generateFetchData(question) generateFetchData(question)
handleClearInput()
scrollToView() scrollToView()
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册