Commit Graph

32 Commits

Author SHA1 Message Date
vben ba2415c3b4 chore: Extract lint config 2023-04-04 16:55:34 +08:00
tttleon c70cf3cace
fix 主动调用 axioscancelToken 的 cancel 取消请求时 无效的问题 (#2586)
cancelToken 如果被深拷贝,会导致最外层无法使用cancel方法来取消请求
2023-02-27 12:51:51 +08:00
Tianyuan Zhang c0e40fa01e
refactor: update class AxiosTransform (#2041)
rename transformRequestHook to transformResponseHook
2022-07-07 15:39:48 +08:00
Jim 19dc88b4e0
docs: 添加注释, 修复 (#1927)
* docs: 添加注释

* docs: 添加注释

* fix: 后台动态权限changePermissionCode加上await

* docs: 添加注释

* docs: 添加注释

* docs: 添加注释

* docs: 添加注释

* docs: 添加注释
2022-06-16 19:02:10 +08:00
zuihou 419b7aea07 fix(axios): 请求异常时,无法正确执行 catch 2022-05-06 10:39:46 +08:00
Captain 136cbb1e3b
feat: add request retry (#1553) 2022-03-19 00:07:34 +08:00
Captain a281631ae3
fix: The value of ignoreCancelToken is not available in headers (#1506) 2021-12-28 18:47:44 +08:00
vben a248e20013 chore: fix type 2021-10-26 01:19:51 +08:00
miofly 5902886798
fix(type): 修复几个 ts 报错,和文件引用位置 (#1283)
* fix(type): 删除多余的类型定义

* fix(login): 删除登录时的 toRaw 包裹参数

* fix(type): 修复几个 ts 报错,和文件引用位置
2021-10-12 18:30:32 +08:00
erniu 935d4fc12d
feat(Upload): 兼容ant-design-vue的upload属性 (#1247)
1. 兼容`name`属性,用于自定义发到后台的文件参数名; 2. 兼容`filename`属性

Co-authored-by: erniu <joe.cheng237@gmail.com>
2021-10-05 22:53:21 +08:00
CXM 72634ffe6e
fix: add axios error info from response (#1083)
* fix(type): fix ant-design-vue  ->

* fix: add axios error info from response
2021-08-16 23:14:40 +08:00
Vben c4b22a225d fix(upload): make sure to carry custom parameters, fix #802 2021-06-23 22:37:30 +08:00
Vben b6d5b0796d feat(axios): added authenticationScheme configuration,fix #774 2021-06-17 23:25:31 +08:00
xlaoyu 49b66e83ac
refactor(axios): control the display of common errors in the request cycle (#758)
Co-authored-by: frankylli <frankylli@tencent.com>
2021-06-16 22:34:32 +08:00
Vben 50f94bfee4 chore(axios): remove useless code 2021-06-06 15:12:15 +08:00
Netfan b218f10e25
fix(login): login page modal style fixed: #662 (#666)
* fix: catch axios error data on request

* fix(login): login page modal style fixed: #662
2021-05-28 00:07:28 +08:00
Yirius 5724bc5b3b
perf: set header can use For Qs (#562)
set header can use For Qs
2021-05-05 21:19:12 +08:00
最后 e1b30a5075
fix: update Axios.ts (#492)
1. 应该使用传递进来的 请求头
2. 针对有数组类型的参数,应该用brackets 或者 repeat 。  最好将arrayFormat参数改成可以让使用者通过入参来改的。  参考: https://blog.csdn.net/pifutan/article/details/86320705
2021-04-17 22:30:53 +08:00
Vben 970d4049fd chore: update deps 2021-03-09 23:01:32 +08:00
Vben 3b8ca420c7 feat: add dept management page 2021-03-01 22:54:21 +08:00
Vben 11d3f395ca fix: ensure to request the interface correctly 2021-02-26 23:30:22 +08:00
Vben a821d9a3a2 perf: imporve axios logic 2021-02-26 22:45:53 +08:00
Vben c41fa75265 feat: axios supports form-data format requests 2021-02-24 20:45:53 +08:00
vben 589409305f perf: adjust the return value of the interface to obtain user information in array format #259 2021-02-13 09:17:11 +08:00
vben 5810078bc7 wip: code adjustment and optimization 2021-02-10 00:53:47 +08:00
vben 4ce1d526c8 refactor(lock-page): refactor lock page 2020-12-09 22:11:34 +08:00
vben 661db0c767 perf(upload): improve upload component 2020-11-15 13:22:34 +08:00
vben ecfb702b09 fix: type error 2020-11-12 22:20:15 +08:00
jq 746d4a745d wip: add upload component 2020-11-12 00:06:12 +08:00
vben 88de82c493 fix: fix drawer autoHeight 2020-10-22 22:32:39 +08:00
nebv e83cb06bb9 feat: projectSetting add closeMessageOnSwitch and removeAllHttpPending 2020-10-13 01:40:18 +08:00
陈文彬 2f6253cfb6 initial commit 2020-09-28 20:19:10 +08:00