From 8d349af5f56aaf6015a0519c51b9f92d1646cb08 Mon Sep 17 00:00:00 2001 From: CoderHank Date: Thu, 27 Jun 2024 11:01:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=93=E5=AD=98=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E8=AE=BE=E7=BD=AE=E5=88=A4=E6=96=AD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: CoderHank --- library/src/main/ets/utils/FileCache.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/ets/utils/FileCache.ets b/library/src/main/ets/utils/FileCache.ets index 4a5fbff..a9beaa4 100644 --- a/library/src/main/ets/utils/FileCache.ets +++ b/library/src/main/ets/utils/FileCache.ets @@ -60,7 +60,7 @@ export class FileCache { if (this.isInited) { return } - if (this.context && path.startsWith(this.context.cacheDir) === false) { + if (this.context && path.startsWith(this.context.cacheDir) === true) { this.path = path } else { FileCache.CACHE_FOLDER = path