API统计页面
This commit is contained in:
@@ -26,6 +26,11 @@ type ExtendOptions<T = any> = {
|
||||
* - data: 解构响应的BODY数据,只返回其中的data节点数据(会检查status和code是否为成功状态)。
|
||||
*/
|
||||
responseReturn?: 'body' | 'data' | 'raw';
|
||||
/**
|
||||
* 是否由全局响应拦截器显示错误消息。
|
||||
* 页面需要使用内联错误态时可设为 false。
|
||||
*/
|
||||
showErrorMessage?: boolean;
|
||||
};
|
||||
type RequestClientConfig<T = any> = AxiosRequestConfig<T> & ExtendOptions<T>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user