修复缓存报错问题

This commit is contained in:
2025-01-06 16:09:41 +08:00
parent c2f881026d
commit 409f7c5aef

View File

@@ -39,7 +39,6 @@ class CACHE {
set(key, val) { set(key, val) {
this[key] = val this[key] = val
uni.setStorageSync(this._name, this) uni.setStorageSync(this._name, this)
this._isEmpty=false
} }
clear() { clear() {
Object.keys(this).map(v => { Object.keys(this).map(v => {