@thefreshop/tb 1.0.15 → 1.0.16

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.
package/dist/cjs/index.js CHANGED
@@ -567,6 +567,12 @@ const TbFrame = ({ setting, top, bottom, nav, top_banner, hashmode = false, }) =
567
567
  element: setting?.loginpage ? setting.loginpage : React.createElement(LoginPage, null),
568
568
  });
569
569
  }
570
+ setting?.globalpages?.forEach((item) => {
571
+ route.push({
572
+ path: "/" + item.key,
573
+ element: item.page,
574
+ });
575
+ });
570
576
  nav.menuSet.forEach((item) => {
571
577
  item.menuSetting.forEach((sub) => {
572
578
  route.push({