mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 08:28:03 +08:00
merge main
This commit is contained in:
@ -90,3 +90,7 @@ export const formatNumberAbbreviated = (num: number) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const snakeCase2CamelCase = (input: string): string => {
|
||||
return input.replace(/_([a-z])/g, (_, letter) => letter.toUpperCase())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user