修复一个 className 透传的问题

This commit is contained in:
2betop 2020-02-14 20:30:51 +08:00
parent 70cc66c46e
commit 82d0b76e87

View File

@ -1431,7 +1431,13 @@ export default class Table extends React.Component<TableProps, object> {
}
renderColumnsToggler(config?: any) {
const {store, classPrefix: ns, classnames: cx, ...rest} = this.props;
const {
className,
store,
classPrefix: ns,
classnames: cx,
...rest
} = this.props;
const render = this.props.render;