From 7ea19f75b3b1fc8c9af3840a470cb662b8f65d0d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 15 五月 2025 13:59:11 +0800 Subject: [PATCH] fix: s --- 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