From da72c924588ee0352ad8534cf8e6934588c56dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sat, 18 Oct 2025 18:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=90=9C=E7=B4=A2=20?= =?UTF-8?q?=E7=90=83=E5=B1=80=20=E5=88=97=E8=A1=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/listStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/listStore.ts b/src/store/listStore.ts index 29f1d4c..ef62239 100644 --- a/src/store/listStore.ts +++ b/src/store/listStore.ts @@ -335,7 +335,7 @@ export const useListStore = create()((set, get) => ({ searchSuggestion: async (val: string) => { try { const state = get(); - const resData = (await searchSuggestion({ val, limit: 10 })) || {}; + const resData = (await searchSuggestion({ keyword: val, limit: 10 })) || {}; const recommendations = resData?.data?.recommendations || []; const total = resData?.data?.total; set({