From ebbd788fbb2c0b45d4473798efc57eec8ba74a25 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 14:51:16 +0800 Subject: [PATCH] 版本更新至2.11.5 --- src/utils/cache/memory.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/cache/memory.ts b/src/utils/cache/memory.ts index 08a0a64..8d2cfd1 100644 --- a/src/utils/cache/memory.ts +++ b/src/utils/cache/memory.ts @@ -27,7 +27,7 @@ // get<K extends keyof T>(key: K) { // const item = this.getItem(key); // const time = item?.time; - // if (!isNullOrUnDef(time) && time < new Date().getTime()) { + // if (!isNil(time) && time < new Date().getTime()) { // this.remove(key); // } // return item?.value ?? undefined; -- Gitblit v1.9.3