@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/esm/index.js CHANGED
@@ -547,6 +547,12 @@ const TbFrame = ({ setting, top, bottom, nav, top_banner, hashmode = false, }) =
547
547
  element: setting?.loginpage ? setting.loginpage : React__default.createElement(LoginPage, null),
548
548
  });
549
549
  }
550
+ setting?.globalpages?.forEach((item) => {
551
+ route.push({
552
+ path: "/" + item.key,
553
+ element: item.page,
554
+ });
555
+ });
550
556
  nav.menuSet.forEach((item) => {
551
557
  item.menuSetting.forEach((sub) => {
552
558
  route.push({