|
@@ -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)
|
|
|
}
|