Merge branch 'master' into custom/鲁控数字-薪资核算列表页面批量编辑
This commit is contained in:
commit
10e09b2a3a
|
|
@ -26,15 +26,15 @@ const ReportTable: FC = (props) => {
|
|||
setSumRow(countResult);
|
||||
setColumns(_.map(columns, (item, index: number) => {
|
||||
if (index === 0) {
|
||||
return { ...item, fixed: "left" };
|
||||
return { ...item, fixed: "left", ellipsis: true };
|
||||
}
|
||||
return {
|
||||
...item,
|
||||
children: _.map(item.children, child => {
|
||||
return {
|
||||
...child,
|
||||
...child, ellipsis: true,
|
||||
render: (text: string, record: any) => {
|
||||
return <Button type="link" onClick={() => {
|
||||
return <Button type="link" block onClick={() => {
|
||||
window.parent.postMessage(
|
||||
{
|
||||
type: "turn",
|
||||
|
|
|
|||
Loading…
Reference in New Issue