-
cancelToken 如果被深拷贝,会导致最外层无法使用cancel方法来取消请求
-
rename transformRequestHook to transformResponseHook
-
* docs: 添加注释 * docs: 添加注释 * fix: 后台动态权限changePermissionCode加上await * docs: 添加注释 * docs: 添加注释 * docs: 添加注释 * docs: 添加注释 * docs: 添加注释
-
* fix(type): 删除多余的类型定义 * fix(login): 删除登录时的 toRaw 包裹参数 * fix(type): 修复几个 ts 报错,和文件引用位置
-
1. 兼容`name`属性,用于自定义发到后台的文件参数名; 2. 兼容`filename`属性 Co-authored-by: erniu <joe.cheng237@gmail.com>
-
* fix(type): fix ant-design-vue -> * fix: add axios error info from response
-
Co-authored-by: frankylli <frankylli@tencent.com>
-
* fix: catch axios error data on request * fix(login): login page modal style fixed: #662
-
set header can use For Qs
-
1. 应该使用传递进来的 请求头 2. 针对有数组类型的参数,应该用brackets 或者 repeat 。 最好将arrayFormat参数改成可以让使用者通过入参来改的。 参考: https://blog.csdn.net/pifutan/article/details/86320705