mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-04-01 03:02:38 +08:00
修复一级菜单没有icon问题
This commit is contained in:
parent
e469b0fda0
commit
5aab9d96c2
@ -5,7 +5,7 @@
|
|||||||
"groupId" : "67b2ce258e24491194b74992958c74aa",
|
"groupId" : "67b2ce258e24491194b74992958c74aa",
|
||||||
"name" : "当前用户菜单",
|
"name" : "当前用户菜单",
|
||||||
"createTime" : null,
|
"createTime" : null,
|
||||||
"updateTime" : 1685784587489,
|
"updateTime" : 1705136208184,
|
||||||
"lock" : "0",
|
"lock" : "0",
|
||||||
"createBy" : null,
|
"createBy" : null,
|
||||||
"updateBy" : null,
|
"updateBy" : null,
|
||||||
@ -644,6 +644,7 @@ nodes.each((key, node) => {
|
|||||||
if(node.pid == '0'){
|
if(node.pid == '0'){
|
||||||
if(node.component != 'Layout'){
|
if(node.component != 'Layout'){
|
||||||
node = {
|
node = {
|
||||||
|
icon: node.icon,
|
||||||
isShow: 1,
|
isShow: 1,
|
||||||
component: 'Layout',
|
component: 'Layout',
|
||||||
redirect: node.path,
|
redirect: node.path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user