mirror of
https://gitee.com/layui/layui.git
synced 2025-04-05 17:38:02 +08:00
修复 upload 设置 unified: true
时的报错问题
This commit is contained in:
parent
c7d6cf90c9
commit
262c6cbf5a
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user