@mu-cabin/opms-permission 0.8.20 → 0.8.22

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
@@ -438,7 +438,9 @@ var Permission = class {
438
438
  key: item.orgCode,
439
439
  nodeLevel: item.nodeLevel,
440
440
  children: item.children,
441
- disabled: !item.hasPermission,
441
+ // TODO: 新接口只返回有权限的节点
442
+ // disabled: !item.hasPermission,
443
+ disabled: false,
442
444
  orgType: item.orgType,
443
445
  orgId: item.orgId
444
446
  };
package/dist/index.mjs CHANGED
@@ -399,7 +399,9 @@ var Permission = class {
399
399
  key: item.orgCode,
400
400
  nodeLevel: item.nodeLevel,
401
401
  children: item.children,
402
- disabled: !item.hasPermission,
402
+ // TODO: 新接口只返回有权限的节点
403
+ // disabled: !item.hasPermission,
404
+ disabled: false,
403
405
  orgType: item.orgType,
404
406
  orgId: item.orgId
405
407
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.8.20",
3
+ "version": "0.8.22",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",