zwxi 7 달 전
부모
커밋
d9cf462060
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      services/data/chart_classify.go

+ 3 - 3
services/data/chart_classify.go

@@ -40,9 +40,9 @@ func ChartClassifyItemsMakeTree(sysUser *system.Admin, allNode []*data_manage.Ch
 				childButton.AddButton = false //第六级的话,默认图表都是没有添加按钮的
 			}
 			child.Disable = true
-			//if child.Level == level {
-			//	child.Disable = false
-			//}
+			if child.Level == level {
+				child.Disable = false
+			}
 			child.Button = childButton
 			//node.Children = append(node.Children, child)
 		}