This commit is contained in:
wangmeihua 2025-09-12 15:34:43 +08:00
commit 1c8eb52816

View File

@ -1,4 +1,3 @@
{% set roles = get_user_roles(get_user()) %}
{ {
"widgettype":"Menu", "widgettype":"Menu",
"options":{ "options":{
@ -10,6 +9,7 @@
}, },
"cwidth":10, "cwidth":10,
"items":[ "items":[
{% if get_user() %}
{ {
"name":"config", "name":"config",
"label":"配置", "label":"配置",
@ -60,6 +60,7 @@
} }
] ]
} }
{% endif %}
] ]
} }
} }