更新启动服务

This commit is contained in:
ckcz123 2021-08-30 23:05:41 +08:00
parent f3f6a6ff75
commit 575cd37ce3
2 changed files with 3 additions and 1 deletions

View File

@ -230,7 +230,9 @@ utils.prototype.setLocalStorage = function (key, value) {
////// 获得本地存储 //////
utils.prototype.getLocalStorage = function (key, defaultValue) {
try {
return JSON.parse(localStorage.getItem(core.firstData.name + "_" + key));
var value = JSON.parse(localStorage.getItem(core.firstData.name + "_" + key));
if (value == null) return defaultValue;
return value;
} catch (e) {
return defaultValue;
}

Binary file not shown.