chore: user apikeys

This commit is contained in:
jialin
2024-06-23 15:15:12 +08:00
parent a03a95a3bc
commit ff1cf01edf
24 changed files with 481 additions and 180 deletions
+7 -1
View File
@@ -2,7 +2,13 @@ export const isNotEmptyValue = (value: any) => {
if (Array.isArray(value)) {
return value.length > 0;
}
return value !== null && value !== undefined && value !== '';
return (
value !== null &&
value !== undefined &&
value !== '' &&
value !== false &&
value !== 0
);
};
export const handleBatchRequest = async (