@bit-sun/business-component 3.1.0-alpha.5 → 3.1.0-alpha.6

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/index.esm.js CHANGED
@@ -18373,7 +18373,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
18373
18373
  });
18374
18374
  return;
18375
18375
  }
18376
- if (node.path === '/' || getLimitedMenuPath(node) || getGenerateDocs(node)) {
18376
+ if (node.path === '/' || getLimitedMenuPath(node) || getGenerateDocs(node) || node.noAuth) {
18377
18377
  treeList.push({
18378
18378
  tab: node.locale,
18379
18379
  key: node.path,
package/dist/index.js CHANGED
@@ -18396,7 +18396,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
18396
18396
  });
18397
18397
  return;
18398
18398
  }
18399
- if (node.path === '/' || getLimitedMenuPath(node) || getGenerateDocs(node)) {
18399
+ if (node.path === '/' || getLimitedMenuPath(node) || getGenerateDocs(node) || node.noAuth) {
18400
18400
  treeList.push({
18401
18401
  tab: node.locale,
18402
18402
  key: node.path,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "3.1.0-alpha.5",
3
+ "version": "3.1.0-alpha.6",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -647,7 +647,7 @@ class BasicLayout extends React.PureComponent {
647
647
  });
648
648
  return;
649
649
  }
650
- if (node.path === '/' || getLimitedMenuPath(node) || getGenerateDocs(node)) {
650
+ if (node.path === '/' || getLimitedMenuPath(node) || getGenerateDocs(node) || node.noAuth) {
651
651
  treeList.push({
652
652
  tab: node.locale,
653
653
  key: node.path,