fix: dashboard re-render

This commit is contained in:
jialin
2024-07-04 17:43:39 +08:00
parent ed3f9f7e96
commit e9d8828dcd
42 changed files with 240 additions and 1442 deletions
+1 -7
View File
@@ -3,13 +3,7 @@ export const isNotEmptyValue = (value: any) => {
if (Array.isArray(value)) {
return value.length > 0;
}
return (
value !== null &&
value !== undefined &&
value !== '' &&
value !== false &&
value !== 0
);
return !!value || value === 0 || value === false;
};
export const handleBatchRequest = async (