Obj.files[0].name.split('.')[1] // or Obj.files[0].type.split('/')[1] 来源:https://www.cnblogs.com/vaso-me/p/11358934.html 标签 上传文件