From c471f230dae7e5c6dc76ce962e359a63a0d1e74b Mon Sep 17 00:00:00 2001 From: ShengHuang Date: Thu, 16 May 2024 03:07:13 +0800 Subject: [PATCH] test --- js/plugin_juicity/juicity.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/plugin_juicity/juicity.js b/js/plugin_juicity/juicity.js index 8dbc0a7..c4bd858 100644 --- a/js/plugin_juicity/juicity.js +++ b/js/plugin_juicity/juicity.js @@ -27,9 +27,9 @@ class juicityClass { let v = this.defaultSharedStorage[k]; this.common._setType(k, typeof v); - if (!this.sharedStorage.hasOwnProperty(k)) { - this.sharedStorage[k] = v; - } + // if (!this.sharedStorage.hasOwnProperty(k)) { + // this.sharedStorage[k] = v; + // } } } @@ -137,6 +137,7 @@ class juicityClass { // 开启设置界面时调用 setSharedStorage(b64Str) { this.sharedStorage = util.decodeB64Str(b64Str); + neko.logError(JSON.stringify(this.sharedStorage)) this._initDefaultSharedStorage(); }