Commit cc99d3f7 authored by 李晓静's avatar 李晓静

props

parent c92d9dbe
...@@ -758,6 +758,7 @@ export default class DataView extends React.Component { ...@@ -758,6 +758,7 @@ export default class DataView extends React.Component {
scroll, scroll,
expandedRowKeys, expandedRowKeys,
onExpandedRowsChange, onExpandedRowsChange,
...others
} = this.props; } = this.props;
const { data } = this.state; const { data } = this.state;
let rowSelection = null; let rowSelection = null;
...@@ -785,6 +786,7 @@ export default class DataView extends React.Component { ...@@ -785,6 +786,7 @@ export default class DataView extends React.Component {
expandedRowRender, expandedRowRender,
pagination: false, pagination: false,
bordered: false, bordered: false,
...others,
}; };
const _props = expandedRowKeys ? { ...commonProps, expandedRowKeys } : commonProps; const _props = expandedRowKeys ? { ...commonProps, expandedRowKeys } : commonProps;
return scroll ? <BITable {..._props} scroll={scroll} /> : <BITable {..._props} />; return scroll ? <BITable {..._props} scroll={scroll} /> : <BITable {..._props} />;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment