浏览代码

Change message

customisations
alemart 9 个月前
父节点
当前提交
55e99ef76d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      plugins/extras/asset-manager.js

+ 1
- 1
plugins/extras/asset-manager.js 查看文件

@@ -63,7 +63,7 @@ class AssetManager
63 63
 
64 64
         return new Promise((resolve, reject) => {
65 65
             const seconds = options.timeout !== undefined ? options.timeout : Infinity;
66
-            const timeoutFn = () => reject(new Error(`Can't preload assets: timeout!`));
66
+            const timeoutFn = () => reject(new Error(`Can't preload assets: slow connection!`));
67 67
             const timeoutId = isFinite(seconds) ? setTimeout(timeoutFn, seconds * 1000) : undefined;
68 68
 
69 69
             fetch(url)

正在加载...
取消
保存