@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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
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
|
-
|
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
|
-
|
402
|
+
// TODO: 新接口只返回有权限的节点
|
403
|
+
// disabled: !item.hasPermission,
|
404
|
+
disabled: false,
|
403
405
|
orgType: item.orgType,
|
404
406
|
orgId: item.orgId
|
405
407
|
};
|