Commit eb47abde authored by zhangwenshuai's avatar zhangwenshuai

fix refresh bug

parent 5fb77375
......@@ -97,6 +97,7 @@ export default class AirTable extends Component<TableProps, TableState> {
componentDidUpdate(prevProps: Readonly<TableProps>): void {
if (
JSON.stringify(this.props.dataSource) !== JSON.stringify(prevProps.dataSource)
|| JSON.stringify(this.props.groupConfig) !== JSON.stringify(prevProps.groupConfig)
) {
this.recomputeGridSize();
}
......
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