refactor: migrated crawlab-ui to crawlab/frontend/crawlab-ui

This commit is contained in:
Marvin Zhang
2025-04-16 10:33:07 +08:00
parent 1ce6f87ad5
commit fac1206a65
1916 changed files with 96823 additions and 13221 deletions

View File

@@ -0,0 +1,6 @@
export const capitalize = (str: string): string => {
if (!str) return '';
const arr = str.split('');
arr[0] = arr[0].toUpperCase();
return arr.join('');
};