@umijs/route-utils
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -136,4 +136,5 @@ import isEqual from 'lodash.isequal'; | ||
// 是否没有权限查看 | ||
// 这样就不会显示,是一个兼容性的方式 | ||
if (item.unaccessible) { | ||
return false; | ||
delete item.name; | ||
} | ||
@@ -140,0 +141,0 @@ if (item?.menu?.name || item?.flatMenu || item?.menu?.flatMenu) { |
@@ -229,4 +229,5 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
// 是否没有权限查看 | ||
// 这样就不会显示,是一个兼容性的方式 | ||
if (item.unaccessible) { | ||
return false; | ||
delete item.name; | ||
} | ||
@@ -233,0 +234,0 @@ |
@@ -250,4 +250,5 @@ "use strict"; | ||
// 是否没有权限查看 | ||
// 这样就不会显示,是一个兼容性的方式 | ||
if (item.unaccessible) { | ||
return false; | ||
delete item.name; | ||
} | ||
@@ -254,0 +255,0 @@ |
{ | ||
"name": "@umijs/route-utils", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "Quickly process the routing of umi", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
329608
3821