From 1df5e914ae6a1fe822914366362aa9ac46ce8ccd Mon Sep 17 00:00:00 2001 From: DebugIsFalse <511418503@qq.com> Date: Wed, 22 May 2024 17:08:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/search/[id].vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pages/search/[id].vue b/pages/search/[id].vue index 6a5e92a..93d36d9 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() } -- GitLab