格式化日期

This commit is contained in:
2025-10-20 16:32:48 +08:00
parent 9297263dbb
commit 801dfb2963
4 changed files with 227 additions and 196 deletions

View File

@@ -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 || "暂无数据"}
/>
);
}
// 渲染数据