mirror of
https://gitee.com/layui/layui.git
synced 2025-12-26 22:25:48 +08:00
剔除 upload 的 dataType 默认值
This commit is contained in:
@@ -236,7 +236,7 @@ layui.define(['lay','layer'], function(exports){
|
||||
data: formData,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
dataType: 'json',
|
||||
// dataType: 'json',
|
||||
headers: options.headers || {},
|
||||
success: function(res){ // 成功回调
|
||||
options.unified ? (successful += that.fileLength) : successful++;
|
||||
|
||||
Reference in New Issue
Block a user