@acorex/components 6.5.66 → 6.5.68
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.
@@ -13701,7 +13701,9 @@ class AXTabPageService {
|
|
13701
13701
|
}
|
13702
13702
|
newTab[TAB_META_KEY] = {};
|
13703
13703
|
newTab[TAB_META_KEY].uid = AXHtmlUtil.getUID();
|
13704
|
-
|
13704
|
+
if (newTab?.data) {
|
13705
|
+
newTab[TAB_META_KEY].oldData = JSON.parse(JSON.stringify(newTab.data));
|
13706
|
+
}
|
13705
13707
|
//
|
13706
13708
|
const existTab = this.tabs.find((c) => newTab[TAB_META_KEY].uid && c[TAB_META_KEY].uid === newTab[TAB_META_KEY].uid) ||
|
13707
13709
|
this.findExistTab(newTab.content, newTab.data);
|
@@ -13808,7 +13810,7 @@ class AXTabPageService {
|
|
13808
13810
|
}
|
13809
13811
|
const result = this.tabs.find((c) => c.content === component &&
|
13810
13812
|
((!c.data) ||
|
13811
|
-
JSON.parse(JSON.stringify(data)) === JSON.parse(JSON.stringify(c.data)) || JSON.stringify(data) === c[TAB_META_KEY].oldData));
|
13813
|
+
JSON.parse(JSON.stringify(data)) === JSON.parse(JSON.stringify(c.data)) || JSON.stringify(data) === JSON.stringify(c[TAB_META_KEY].oldData)));
|
13812
13814
|
return result;
|
13813
13815
|
}
|
13814
13816
|
catch (error) {
|