dist/vue-upload-component.js
// InputFile - Add the file selected by <input type = "file"> to the upload list
Add the file selected by  to the upload list
Add the file selected by to the upload list
function addInputFile(el) {
      var files = [];
      if (el.files) {
        for (var i = 0; i < el.files.length; i++) {
          var file = el.files[i];
          files.push({
            size: file.size,
            name: file.webkitRelativePath || file.relativePath || file.name,
            type: file.type,
            file: file,
            el: el
          });
        }
      } else {
        files.push({
          name: el.value.replace(/^.*?([^\/\\\r\n]+)$/, '$1'),
          el: el
        });
      }
      return this.add(files);
    }
function addInputFile ( el ) { var files = [ ] ; if ( el . files ) { for ( var i = 0 ; i < el . files . length ; i ++ ) { var file = el . files [ i ] ; files . push ( { size : file . size , name : file . webkitRelativePath || file . relativePath || file . name , type : file . type , file : file , el : el } ) ; } } else { files . push ( { name : el . value . replace ( / ^.*?([^\/\\\r\n]+)$ / , '$1' ) , el : el } ) ; } return this . add ( files ) ; }
InputFile - Add the file selected by <input type = "file"> to the upload list
InputFile - Add the file selected by <input type = " file " > to the upload list