apps/cMiniApp/src/hooks/task.ts
@@ -12,10 +12,13 @@ export function useTaskList() { const searchValue = ref(''); const queryMenuState = reactive({ gender: '' as any as Gender, }); const queryState = reactive({ searchValueTrim: '', orderType: HomeOrderType.Recommend, gender: '' as any as Gender, companyId: '', }); @@ -42,13 +45,14 @@ }); }, { queryKey: ['orderServices/getFrontOrderList', queryState], queryKey: ['orderServices/getFrontOrderList', queryState, queryMenuState], } ); return { searchValue, queryState, queryMenuState, handleSearch, infiniteLoadingProps, };