@acorex/components 6.5.67 → 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);
|