提交 d94e7bd7 编写于 作者: A afc163

fix typo

上级 5634881e
......@@ -101,7 +101,7 @@ export default class List extends React.Component<ListProps> {
return renderItem(item, index);
}
isSomethingAfterLastTtem() {
isSomethingAfterLastItem() {
const { loadMore, pagination, footer } = this.props;
return !!(loadMore || pagination || footer);
}
......@@ -160,7 +160,7 @@ export default class List extends React.Component<ListProps> {
[`${prefixCls}-bordered`]: bordered,
[`${prefixCls}-loading`]: isLoading,
[`${prefixCls}-grid`]: grid,
[`${prefixCls}-something-after-last-item`]: this.isSomethingAfterLastTtem(),
[`${prefixCls}-something-after-last-item`]: this.isSomethingAfterLastItem(),
});
const paginationContent = (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册