mirror of https://github.com/layui/layui
剔除 upload 的 `dataType` 默认值
parent
b86b04b907
commit
4952d6ee7e
|
@ -236,7 +236,7 @@ layui.define(['lay','layer'], function(exports){
|
||||||
data: formData,
|
data: formData,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
processData: false,
|
processData: false,
|
||||||
dataType: 'json',
|
// dataType: 'json',
|
||||||
headers: options.headers || {},
|
headers: options.headers || {},
|
||||||
success: function(res){ // 成功回调
|
success: function(res){ // 成功回调
|
||||||
options.unified ? (successful += that.fileLength) : successful++;
|
options.unified ? (successful += that.fileLength) : successful++;
|
||||||
|
|
Loading…
Reference in New Issue