A FileList不是Array,但确实符合其合同(具有length数字索引),因此我们可以“借用” Array方法: Array.prototype.forEach.call(field.photo.files, function(file) { ...
確定! 回上一頁