diff --git a/pages/search/[id].vue b/pages/search/[id].vue index 6a5e92ace09769737c68a7fb4608de1bc595b68c..93d36d922508c4cffd36210b8147be96bf98fbb3 100644 --- a/pages/search/[id].vue +++ b/pages/search/[id].vue @@ -91,7 +91,6 @@ const data = ref([ { question: state.query, desLoading: true } ]) const recommendQuestions = ref([]) -const continueQuestion = ref(null) // git url const baseGitUrl = computed(() => { const endWidthGit = state.gitPath.endsWith('.git') @@ -107,9 +106,6 @@ const sourceCount = computed(() => { return currentData.source.length }) let asking = ref(false) -const handleClearInput = () => { - continueQuestion.value = '' -} const handleContinueAsk = (question) => { if (asking.value) return isAutoToBottom.value = true @@ -117,7 +113,6 @@ const handleContinueAsk = (question) => { editIndex.value = data.value.length createGenerateInitItem(question) generateFetchData(question) - handleClearInput() scrollToView() }