mirror of
https://gitee.com/layui/layui.git
synced 2025-12-27 06:35:47 +08:00
修复 upload 设置 unified: true 时的报错问题
This commit is contained in:
@@ -247,9 +247,10 @@ layui.define(['lay','layer'], function(exports){
|
||||
} else { // 逐一上传
|
||||
if (removeUploaded(sets.index, sets.file)) return;
|
||||
formData.append(options.field, sets.file);
|
||||
sets.file[UPLOADING] = true; // 上传中的标记
|
||||
}
|
||||
|
||||
sets.file[UPLOADING] = true; // 上传中的标记
|
||||
|
||||
|
||||
// ajax 参数
|
||||
var opts = {
|
||||
|
||||
Reference in New Issue
Block a user