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