Commit b4d8257c authored by Medicean's avatar Medicean

(Fix:Core) 修复 download multipart 发包时 download 发包为空的问题 (asunescape 功能引起)

parent 9841bc57
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
> 有空会补补BUG、添添新功能。 > 有空会补补BUG、添添新功能。
> 同时也欢迎大家的参与!感谢各位朋友的支持! .TAT. > 同时也欢迎大家的参与!感谢各位朋友的支持! .TAT.
## `v(2.1.2)`
### 核心模块
* 修复 download multipart 发包时 download 发包为空的问题 (asunescape 功能引起)
## 2019/04/27 `v(2.1.1)` ## 2019/04/27 `v(2.1.1)`
### 核心模块 ### 核心模块
......
...@@ -292,6 +292,7 @@ class Request { ...@@ -292,6 +292,7 @@ class Request {
let _postarr = []; let _postarr = [];
if(opts['useMultipart'] == 1) { if(opts['useMultipart'] == 1) {
_request.send = _request.field; _request.send = _request.field;
_postarr = _postData;
}else{ }else{
_request.send = old_send; _request.send = old_send;
for(var key in _postData) { for(var key in _postData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment