fix: refresh selection after deleting by batch

This commit is contained in:
jialin
2025-05-16 16:07:55 +08:00
parent febdc5b8e2
commit 6340f1fb54
4 changed files with 41 additions and 13 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export const handleBatchRequest = async (
list: any[],
fn: (args: any) => void
) => {
return Promise.all(list.map((item) => fn(item)));
return Promise.allSettled(list.map((item) => fn(item)));
};
export const convertFileSize = (