mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: multi-thread bulk download
This commit is contained in:
1 parent
17a2d4732d
commit
375a06a98d
3 files changed
+41
-27
No files matched your search
@@ -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`);
|
||||
|
||||
Reference in new issue
Block a user