摘要: let fileName = this.file.name.lastIndexOf(".");//取到文件名开始到最后一个点的长度 let fileNameLength = this.file.name.length;//取到文件名长度 let fileFormat = this.file.name.substring(fileName + 1, fileNameLength);//截 cons... 阅读全文
posted @ 2018-05-16 09:36 _Iniesta 阅读(17648) 评论(1) 推荐(0) 编辑