Feat: Verify the parameters of the begin operator #3221 (#7794)

### What problem does this PR solve?

Feat: Verify the parameters of the begin operator #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-05-22 16:58:47 +08:00
committed by GitHub
parent b6f3a6a68a
commit 02fd381072
8 changed files with 162 additions and 64 deletions

View File

@ -140,3 +140,7 @@ export function formatFileSize(bytes: number, si = true, dp = 1) {
return nextBytes.toFixed(dp) + ' ' + units[u];
}
export function buildSelectOptions(list: Array<string>) {
return list.map((x) => ({ label: x, value: x }));
}