diff --git a/pages/search/[id].vue b/pages/search/[id].vue index e49549ca30fec96a419fdfb41aeb2029b9d1dafd..705b16217281c051ded52213adb2cfb8ab1af594 100644 --- a/pages/search/[id].vue +++ b/pages/search/[id].vue @@ -116,7 +116,7 @@ await init() function handleUpdateQuery(query) { - state.query = query + state.title = query } // 是否停止自动滚动到底部 const isAutoToBottom = ref(true)