diff --git a/jero-web/src/components/_util/StringUtil.js b/jero-web/src/components/_util/StringUtil.js index 822a71bb..32202b22 100644 --- a/jero-web/src/components/_util/StringUtil.js +++ b/jero-web/src/components/_util/StringUtil.js @@ -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() }) }