剔除 upload 的 `dataType` 默认值

pull/1360/head
贤心 2023-08-29 17:01:49 +08:00
parent b86b04b907
commit 4952d6ee7e
1 changed files with 1 additions and 1 deletions

View File

@ -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++;