fix: 修复 ci 编译报错 (#1343)

This commit is contained in:
吴多益 2021-01-08 15:18:38 +08:00 committed by GitHub
parent 282878e2b1
commit 0ed0d23687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ export default class Grid2D extends React.Component<Grid2DProps, object> {
<div key={key} style={style} className={grid.gridClassName}>
{itemRender
? itemRender(grid, key, length, this.props)
: this.renderChild(`grid2d/${key}`, grid)}
: this.renderChild(`grid2d/${key}`, grid as Grid)}
</div>
);
}