@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.
- package/dist/index.js +1 -1
- 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
|
-
|
|
46561
|
+
2: { text: "禁用", type: "danger" }
|
|
46562
46562
|
};
|
|
46563
46563
|
return statusMap[status] || { text: "未知", type: "info" };
|
|
46564
46564
|
}
|