修复缓存报错问题
This commit is contained in:
@@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user