wupengfei
7 天以前 9b8c27edd8942f84da68c36d9292e14e5f93cc14
Merge branch 'dev-3.4.5' of http://120.26.58.240:8888/r/12333GovernmentWeb into dev-3.4.5
1个文件已修改
4 ■■■■ 已修改文件
src/hooks/dic.ts 4 ●●●● 补丁 | 查看 | 原始文档 | 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 }
      );