src/hooks/dic.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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 } );