@acorex/components 6.5.65 → 6.5.67

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