@clownlee/rbac 1.0.14 → 1.0.15

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -46558,7 +46558,7 @@ function formatMenuType(menuType) {
46558
46558
  function formatMenuStatus(status) {
46559
46559
  const statusMap = {
46560
46560
  1: { text: "启用", type: "success" },
46561
- 0: { text: "禁用", type: "danger" }
46561
+ 2: { text: "禁用", type: "danger" }
46562
46562
  };
46563
46563
  return statusMap[status] || { text: "未知", type: "info" };
46564
46564
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clownlee/rbac",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "权限管理能力,提供角色、权限、资源等 RBAC 权限管理功能",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",