用于判断文件是已什么结尾的

let fileExtension = file.name.split('.').pop().toLowerCase()

  

猜你喜欢

转载自www.cnblogs.com/js-liqian/p/11779140.html