mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(client) route: strBigFirst -> kebabToCamelCase
This commit is contained in:
parent
2e4c1dfe4d
commit
8249756bcf
2 changed files with 6 additions and 9 deletions
|
|
@ -185,7 +185,7 @@ function UtilProto(exec) {
|
|||
if (!str)
|
||||
throw Error('str could not be empty!');
|
||||
|
||||
var first = str[0].toUpperCase();
|
||||
const first = str[0].toUpperCase();
|
||||
return first + str.slice(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue