<div>
<div style={styles.root}>
<GridList cols={3} padding={50} cellHeight={300} style={styles.gridList}>
{Object.keys(appList).map(key => {
return (<DistributedViewAppThumbnail distributedApp={appList[key]}
currentTime={new Date().getTime()}/>
)
})};
</GridList>
</div>
</div>
当我渲染GridList时,它抛出一个像这样的
的异常bundle.js:22 TypeError: Cannot read property 'cols' of undefined
从下面的控制台查看。 error