格式化日期
This commit is contained in:
@@ -34,7 +34,7 @@ const ListContainer = (props) => {
|
||||
return;
|
||||
}
|
||||
// timerRef.current = setTimeout(() => {
|
||||
loadMoreMatches();
|
||||
loadMoreMatches();
|
||||
// }, 500);
|
||||
});
|
||||
|
||||
@@ -86,7 +86,15 @@ const ListContainer = (props) => {
|
||||
const renderList = (list) => {
|
||||
// 请求数据为空
|
||||
if (isShowNoData) {
|
||||
return <ListLoadError reload={reload} errorImg={errorImg} btnText={btnText} btnImg={btnImg} text={emptyText || "暂无数据"} />;
|
||||
return (
|
||||
<ListLoadError
|
||||
reload={reload}
|
||||
errorImg={errorImg}
|
||||
btnText={btnText}
|
||||
btnImg={btnImg}
|
||||
text={emptyText || "暂无数据"}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
// 渲染数据
|
||||
|
||||
Reference in New Issue
Block a user