You need to sign in or sign up before continuing.
提交 edc8ec58 编写于 作者: View Design's avatar View Design

Merge branch 'main' of gitcode.com:git_bot/ai-fe

...@@ -64,11 +64,11 @@ const handleSearch = async () => { ...@@ -64,11 +64,11 @@ const handleSearch = async () => {
title: query.value title: query.value
} }
}) })
loading.value = false
if (error.value) return if (error.value) return
navigateTo(`/search/${data.value.data.c_id}`) navigateTo(`/search/${data.value.data.c_id}`)
emits('search') emits('search')
nextTick(() => { nextTick(() => {
loading.value = false
$getSearchHistory() $getSearchHistory()
}) })
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册