摘要: // 字符串首字母转大写,后面字母小写 /** * 方法一:js字符串切割 * @param {*} str */ function firstToUpper1(str) { return str.trim().toLowerCase().replace(str[0], str[0].toUpper 阅读全文
posted @ 2020-04-16 12:45 mingL 阅读(15107) 评论(0) 推荐(0) 编辑