From f67339ba8ff32589b2cbda0be19db932b4b2b121 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 13 二月 2025 15:52:54 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp
---
apps/cMiniApp/src/hooks/task.ts | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/apps/cMiniApp/src/hooks/task.ts b/apps/cMiniApp/src/hooks/task.ts
index 38b1733..36970be 100644
--- a/apps/cMiniApp/src/hooks/task.ts
+++ b/apps/cMiniApp/src/hooks/task.ts
@@ -12,15 +12,14 @@
export function useTaskList() {
const searchValue = ref('');
- const DefaultQueryState = {
+ const queryMenuState = reactive({
gender: '' as any as Gender,
- };
+ });
const queryState = reactive({
searchValueTrim: '',
orderType: HomeOrderType.Recommend,
companyId: '',
- ...DefaultQueryState,
});
const handleSearch = _.debounce(function () {
@@ -46,14 +45,14 @@
});
},
{
- queryKey: ['orderServices/getFrontOrderList', queryState],
+ queryKey: ['orderServices/getFrontOrderList', queryState, queryMenuState],
}
);
return {
searchValue,
queryState,
- DefaultQueryState,
+ queryMenuState,
handleSearch,
infiniteLoadingProps,
};
--
Gitblit v1.10.0