From 9b8c27edd8942f84da68c36d9292e14e5f93cc14 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 15 五月 2025 14:06:14 +0800
Subject: [PATCH] Merge branch 'dev-3.4.5' of http://120.26.58.240:8888/r/12333GovernmentWeb into dev-3.4.5
---
src/hooks/dic.ts | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/hooks/dic.ts b/src/hooks/dic.ts
index 3051991..7ad9f3f 100644
--- a/src/hooks/dic.ts
+++ b/src/hooks/dic.ts
@@ -11,6 +11,8 @@
*/
isSelf?: boolean;
onSuccess?: (data: API.GetTypeSearchSettingList[]) => any;
+ /**涓嶄紶鏌ュ叏閮紝true鏌ユ樉绀虹殑 */
+ status?: boolean;
};
export function useSearchSettingType({
@@ -18,6 +20,7 @@
belongType = null,
onSuccess,
isSelf,
+ status = true,
}: UseSearchSettingTypeOptions) {
const { data, refetch } = useQuery({
queryKey: [
@@ -29,6 +32,7 @@
{
searchType: searchType,
belongType: belongType,
+ status,
},
{ showLoading: false }
);
--
Gitblit v1.9.1