修复缓存清除问题
This commit is contained in:
parent
13c270f4e6
commit
b8c47e899d
|
|
@ -44,6 +44,7 @@ class CACHE {
|
|||
Object.keys(this).map(v => {
|
||||
if (v.slice(0, 1) !== '_') {
|
||||
this[v] = null
|
||||
delete this[v]
|
||||
}
|
||||
})
|
||||
uni.removeStorageSync(this._name)
|
||||
|
|
@ -102,6 +103,7 @@ class CACHE_config extends CACHE {
|
|||
Object.keys(this).map(v => {
|
||||
if (v.slice(0, 1) !== '_') {
|
||||
this[v] = null
|
||||
delete this[v]
|
||||
}
|
||||
})
|
||||
uni.removeStorageSync(this._name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue