ui: multi-thread bulk download

This commit is contained in:
undefined committed 2022-03-23 15:12:55 +08:00
1 parent 17a2d4732d
commit 375a06a98d
3 files changed
+41 -27

No files matched your search

+1
View File
@@ -66,6 +66,7 @@ async function load() {
} catch (e) {
Notification.warn(`Failed to call '${type}Loading' of ${page.name}`);
console.error(`Failed to call '${type}Loading' of ${page.name}\n${e.stack}`);
console.error(e);
}
if (process.env.NODE_ENV !== 'production') {
console.time(`${page.name}: ${type}Loading`);