@mu-cabin/opms-permission 0.8.26 → 0.8.27

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.cjs CHANGED
@@ -459,8 +459,7 @@ var Permission = class {
459
459
  nodeLevel: item.nodeLevel,
460
460
  children: item.children,
461
461
  // TODO: 新接口只返回有权限的节点
462
- // disabled: !item.hasPermission,
463
- disabled: false,
462
+ disabled: !item.hasPermission,
464
463
  orgType: item.orgType,
465
464
  orgId: item.orgId
466
465
  };
package/dist/index.mjs CHANGED
@@ -420,8 +420,7 @@ var Permission = class {
420
420
  nodeLevel: item.nodeLevel,
421
421
  children: item.children,
422
422
  // TODO: 新接口只返回有权限的节点
423
- // disabled: !item.hasPermission,
424
- disabled: false,
423
+ disabled: !item.hasPermission,
425
424
  orgType: item.orgType,
426
425
  orgId: item.orgId
427
426
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.8.26",
3
+ "version": "0.8.27",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",