修复搜索 球局 列表问题

This commit is contained in:
张成
2025-10-18 18:36:37 +08:00
parent 436f158b2f
commit da72c92458

View File

@@ -335,7 +335,7 @@ export const useListStore = create<TennisStore>()((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({