wupengfei
8 天以前 d9b4a5767e8a5f02bd1f4662ca68a0ce4dc8b9e0
Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdmin
3个文件已修改
7 ■■■■ 已修改文件
src/hooks/dic.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/request/index.ts 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
types/api.d.ts 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/hooks/dic.ts
@@ -167,6 +167,7 @@
    parentCode: '',
    areaName: item.label,
    layer: Number(item.data?.field4),
    quickQuery: item.data?.field2,
    sort: item.data?.sort,
    id: item.data?.id,
  } as API.AreaTreeNode;
src/utils/request/index.ts
@@ -120,6 +120,9 @@
        const errorInfo: ErrorInfo | undefined = (error as any).info;
        if (errorInfo) {
          const { errorMessage, errorCode } = errorInfo;
          if (Number(errorCode) === 401) {
            handleLogout();
          }
          switch (errorInfo.showType) {
            case ErrorShowType.SILENT:
              // do nothing
types/api.d.ts
@@ -39,7 +39,8 @@
    layer?: number;
    /** 排序 */
    sort?: number;
    id?: string
    id?: string;
    quickQuery?: string
  }
}