@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 +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
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
|
-
|
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
|
-
|
424
|
-
disabled: false,
|
423
|
+
disabled: !item.hasPermission,
|
425
424
|
orgType: item.orgType,
|
426
425
|
orgId: item.orgId
|
427
426
|
};
|