zhengyiming
2025-02-17 b0371b64792e2a071e273cd57496c9f38a3118c2
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,
  };