From 8adc34244461fb892eb34f27b21e52672d6e1153 Mon Sep 17 00:00:00 2001 From: madixin Date: Wed, 6 Nov 2024 16:52:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=EF=BC=9A=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E5=8D=95=E4=B8=AA=E5=9B=BE=E7=89=87=E8=A7=A3=E7=A0=81=E5=90=8E?= =?UTF-8?q?=E5=86=85=E5=AD=98=E5=8D=A0=E7=94=A8=E8=B6=85=E8=BF=87=E5=86=85?= =?UTF-8?q?=E5=AD=98=E7=BC=93=E5=AD=98=E6=9C=80=E5=A4=A7=E5=80=BC=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: madixin --- library/src/main/ets/cache/MemoryLruCache.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/ets/cache/MemoryLruCache.ets b/library/src/main/ets/cache/MemoryLruCache.ets index aba330f..16a937f 100644 --- a/library/src/main/ets/cache/MemoryLruCache.ets +++ b/library/src/main/ets/cache/MemoryLruCache.ets @@ -47,7 +47,7 @@ export class MemoryLruCache implements IMemoryCache { } let size = this.getImageKnifeDataSize(value) - if (size <= 0 && size >= this.maxMemory) { + if (size <= 0 || size >= this.maxMemory) { return }