摘要: 1.带后缀名 function getFileName(path){ var pos1 = path.lastIndexOf('/'); var pos2 = path.lastIndexOf('\\'); var pos = Math.max(pos1, pos2) if( pos<0 ) ret 阅读全文
posted @ 2021-05-31 12:11 maycpou 阅读(3012) 评论(0) 推荐(0) 编辑
摘要: 一个比较简单的解决方式是:将代码中输入的空格换成全角的。 阅读全文
posted @ 2021-05-31 12:08 maycpou 阅读(1071) 评论(0) 推荐(0) 编辑