From 9dfa701454d6a94690bad39dbb0e38f2a0b31489 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 18:08:47 +0800 Subject: [PATCH] build --- 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