显示空状态

This commit is contained in:
李瑞
2026-01-01 15:37:27 +08:00
parent 0a3cdbedd2
commit d7c24ca8b3
2 changed files with 4 additions and 2 deletions

View File

@@ -385,7 +385,9 @@ const ListPageContent: React.FC<ListPageContentProps> = ({
};
const handleRefresh = async () => {
if (refreshing) {
return;
}
setRefreshing(true);
try {

View File

@@ -319,7 +319,7 @@ export const useListStore = create<TennisStore>()((set, get) => ({
return Promise.resolve();
} catch (error) {
setListData({
error: "-1",
error: "",
data: [],
loading: false,
count: 0,