显示空状态

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 () => { const handleRefresh = async () => {
if (refreshing) {
return;
}
setRefreshing(true); setRefreshing(true);
try { try {

View File

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