This commit is contained in:
苏尹岚
2021-01-20 18:18:39 +08:00
parent 17dc583f86
commit a32f1d098d

View File

@@ -247,7 +247,7 @@ func UpdateRoleMenu(ctx *jxcontext.Context, roleIDs, menuIDs []int) (err error)
}
for menuID, _ := range menuIDMap {
if nowMenuIDMap[menuID] == 0 {
addRoleMenuMap[menuID] = append(addRoleMenuMap[menuID], menuID)
addRoleMenuMap[roleID] = append(addRoleMenuMap[roleID], menuID)
}
}
}