From 6c720d359d2bc7453ef2127104374e5576a55a60 Mon Sep 17 00:00:00 2001 From: SmallMain Date: Mon, 28 Oct 2024 17:22:56 +0800 Subject: [PATCH] =?UTF-8?q?[adapters]=20=E4=BF=AE=E5=A4=8D=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=9C=AA=E7=BC=93=E5=AD=98=E6=88=90=E5=8A=9F=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adapters/platforms/wechat/res/workers/cache-manager-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/platforms/wechat/res/workers/cache-manager-worker.js b/adapters/platforms/wechat/res/workers/cache-manager-worker.js index 039246a6..05936748 100644 --- a/adapters/platforms/wechat/res/workers/cache-manager-worker.js +++ b/adapters/platforms/wechat/res/workers/cache-manager-worker.js @@ -209,7 +209,7 @@ var cacheManager_worker = { }, cacheFile(callback, id, srcUrl, cacheEnabled, cacheBundleRoot, isCopy) { - cacheEnabled = cacheEnabled !== undefined ? cacheEnabled : this.cacheEnabled; + cacheEnabled = cacheEnabled != null ? cacheEnabled : this.cacheEnabled; if (!cacheEnabled || this.cacheQueue[id] || this.cachedFiles[id]) { if (callback) callback(null); return;