【fix ESLint】StringUtil.js

This commit is contained in:
danshihao
2023-03-03 10:07:37 +08:00
parent 6885fcb0db
commit 159a262ac9
+1 -1
View File
@@ -36,7 +36,7 @@ export const cutStrByFullLength = (str = '', maxLength) => {
// 下划线转换驼峰
export function underLinetoHump (name) {
return name.replace(/\_(\w)/g, function (all, letter) {
return name.replace(/_(\w)/g, function (all, letter) {
return letter.toUpperCase()
})
}