修复缓存清除问题
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user