zhengyiming
7 天以前 cf727afa850496f3a239907fab342b4bd3ff77fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
declare namespace API {
  interface RequestConfig extends GlobalType.RequestConfig {
    needNProcess?: boolean;
    showLoading?: boolean;
    /**
     * 是否获取原始的AxiosResponse
     */
    getResponse?: boolean;
    /**
     * 跳过默认错误处理
     */
    skipErrorHandler?: boolean;
    mock?: boolean;
    customErrorHandler?: (error: any) => boolean;
  }
 
 
}