moxiecode / plupload

Plupload is JavaScript API for building file uploaders. It supports multiple file selection, file filtering, chunked upload, client side image downsizing and when necessary can fallback to alternative runtimes, like Flash and Silverlight.
http://www.plupload.com
GNU Affero General Public License v3.0
5.63k stars 1.42k forks source link

Files parameter under FilesAdded,(files) ,this files typeof File is false #1621

Open shilianmalaxiangguo opened 4 years ago

shilianmalaxiangguo commented 4 years ago

i want to use ali-oss

files,parameter is not a Class File uploader.bind("FilesAdded", function (uploader, files) { let file = files[0] Object.prototype.toString.call(file) === '[object File]'; // false

} i want to know why false,plz

shilianmalaxiangguo commented 4 years ago

I'm stupid, see the console files it is a dear object

shilianmalaxiangguo commented 4 years ago

how to the obj 2 file?