mirror of
https://github.com/quarkcloudio/quark-go.git
synced 2025-09-26 20:11:11 +08:00
fix: 修复菜单解析bug
This commit is contained in:
@@ -233,7 +233,7 @@ func (model *Menu) MenuParser(menus []*Menu) (menuList interface{}, Error error)
|
||||
v.HideInMenu = true
|
||||
}
|
||||
|
||||
if v.Type == 2 {
|
||||
if v.Type == 2 && v.IsEngine == 1 {
|
||||
v.Path = "/layout/index?api=" + v.Path
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user