From e4083793884cdd294d482f56ab051832bfa81d8a Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Fri, 7 Jan 2022 08:32:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=87=8D=E8=AF=95=E7=AD=96?= =?UTF-8?q?=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/babylon/game.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/babylon/game.ts b/src/app/babylon/game.ts index 66d6496..39831f1 100644 --- a/src/app/babylon/game.ts +++ b/src/app/babylon/game.ts @@ -135,7 +135,7 @@ var MyRetryStrategy = /** @class */ (function () { if (baseInterval === void 0) { baseInterval = 500; } return function (url, request, retryIndex) { - if (request.status == 0 || retryIndex >= maxRetries || url.indexOf("file:") !== -1) { + if (retryIndex >= maxRetries || url.indexOf("file:") !== -1) { console.log("不重试加载", request.status, retryIndex, url.indexOf("file:")); return -1; }