Skip to content

Commit

Permalink
Merge pull request #256 from suyuan32/dev
Browse files Browse the repository at this point in the history
fix: wrong parent id of system menu
  • Loading branch information
suyuan32 committed Jan 28, 2024
2 parents f0dca47 + 605ff48 commit 35c38cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/internal/logic/base/init_database_menu_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (l *InitDatabaseLogic) insertMenuData() error {
menus = append(menus, l.svcCtx.DB.Menu.Create().
SetMenuLevel(1).
SetMenuType(0).
SetParentID(0).
SetParentID(common.DefaultParentId).
SetPath("/system").
SetName("SystemManagement").
SetComponent("LAYOUT").
Expand Down

0 comments on commit 35c38cf

Please sign in to comment.