更新时间:2023-12-05 16:49:58
由于文件夹是对象的集合,因此必须为每个对象添加一个索引.
Because Folder is a collection of objects, you have to add each one of them with an index.
var index = 0;
for(var pair of folderss){
var folder = pair[key];
formData.append("Folders[" + index + "].Id", folder.Id);
index++;
}