|
@@ -582,7 +582,7 @@ func (this *UserAuthController) PurchasedPermission() {
|
|
}
|
|
}
|
|
for _, vv := range v.Child {
|
|
for _, vv := range v.Child {
|
|
if _, ok := permissionMap[vv.ChartPermissionId]; ok && vv.ParentId != 0 {
|
|
if _, ok := permissionMap[vv.ChartPermissionId]; ok && vv.ParentId != 0 {
|
|
- curPermissionView.Child = append(curPermissionView.Child, v)
|
|
|
|
|
|
+ curPermissionView.Child = append(curPermissionView.Child, vv)
|
|
IsAdd = true
|
|
IsAdd = true
|
|
}
|
|
}
|
|
}
|
|
}
|