摘要: var filename = file.name; var index1 = filename.lastIndexOf("."); var index2 = filename.length; var ext = filename.substring(index1 + 1, index2);//后缀名 阅读全文
posted @ 2018-10-30 11:25 quitpoison 阅读(651) 评论(0) 推荐(0) 编辑