Pre Merge pull request !423 from Madi/3.x

This commit is contained in:
Madi 2024-11-06 08:53:26 +00:00 committed by Gitee
commit 69f443d4f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ export class MemoryLruCache implements IMemoryCache {
} }
let size = this.getImageKnifeDataSize(value) let size = this.getImageKnifeDataSize(value)
if (size <= 0 && size >= this.maxMemory) { if (size <= 0 || size >= this.maxMemory) {
return return
} }