fix: 修复菜单解析bug

This commit is contained in:
tangtanglove
2023-07-25 09:30:14 +08:00
parent 95bd8d4cb7
commit 831df17b78

View File

@@ -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
}