xingzai 1 rok temu
rodzic
commit
05c60b199a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      controllers/cygx/industrial_management.go

+ 1 - 1
controllers/cygx/industrial_management.go

@@ -64,7 +64,7 @@ func (this *IndustrialManagementController) ChartPermissionList() {
 		resp.List = append(resp.List, item)
 	} else {
 		for _, v := range list {
-			if v.PermissionName != utils.CHART_PERMISSION_NAME_MF_YANXUAN && isHideResearch {
+			if v.PermissionName == utils.CHART_PERMISSION_NAME_MF_YANXUAN && isHideResearch {
 				continue
 			}
 			resp.List = append(resp.List, v)