From 54f6673d35e514dfb22ec079e84e5f61d2d0c0a7 Mon Sep 17 00:00:00 2001 From: madixin Date: Thu, 27 Jun 2024 12:28:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=8D=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=9A=84=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=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: madixin --- 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