@azrico/webobject 1.4.33 → 1.4.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -573,7 +573,11 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
573
573
|
key: "unzipSaveList",
|
|
574
574
|
value: function unzipSaveList(svlist) {
|
|
575
575
|
try {
|
|
576
|
-
if (_typeof(svlist) === "object")
|
|
576
|
+
if (_typeof(svlist) === "object") {
|
|
577
|
+
if (Array.isArray(svlist)) return svlist;
|
|
578
|
+
if (svlist.__save_list) return this.unzipSaveList(svlist.__save_list);
|
|
579
|
+
return svlist;
|
|
580
|
+
}
|
|
577
581
|
if (typeof svlist === "string") return JSON.parse((0, _string.string_decompress)(svlist));
|
|
578
582
|
} catch (_unused) {}
|
|
579
583
|
return svlist;
|