parent
c43e69af5d
commit
64bfb45618
|
|
@ -98,11 +98,11 @@ class ReportContent extends Component {
|
|||
countResult,
|
||||
columns: _.map(columns, it => ({
|
||||
...it,
|
||||
dataIndex: it.column, width: 150,
|
||||
dataIndex: it.column, width: it.width ? it.width + "px" : 150,
|
||||
title: it.text, align: "center",
|
||||
children: !_.isNil(it.children) ? _.map(it.children, child => ({
|
||||
...child,
|
||||
dataIndex: child.column, width: 150,
|
||||
dataIndex: child.column, width: child.width ? child.width + "px" : 150,
|
||||
title: child.text, align: "center"
|
||||
})) : []
|
||||
})),
|
||||
|
|
|
|||
Loading…
Reference in New Issue