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

props

parent c92d9dbe
......@@ -758,6 +758,7 @@ export default class DataView extends React.Component {
scroll,
expandedRowKeys,
onExpandedRowsChange,
...others
} = this.props;
const { data } = this.state;
let rowSelection = null;
......@@ -785,6 +786,7 @@ export default class DataView extends React.Component {
expandedRowRender,
pagination: false,
bordered: false,
...others,
};
const _props = expandedRowKeys ? { ...commonProps, expandedRowKeys } : commonProps;
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