From a079fff1e7bae25a5e29f73709b8e9972216f7ef Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期二, 21 一月 2025 15:20:29 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/agv/AgvList.jsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zy-acs-flow/src/page/agv/AgvList.jsx b/zy-acs-flow/src/page/agv/AgvList.jsx
index ca963f0..b0855da 100644
--- a/zy-acs-flow/src/page/agv/AgvList.jsx
+++ b/zy-acs-flow/src/page/agv/AgvList.jsx
@@ -36,7 +36,7 @@
Pagination,
ListToolbar,
} from 'react-admin';
-import { Box, Typography, Card, Stack } from '@mui/material';
+import { Box, Typography, LinearProgress, Stack } from '@mui/material';
import { styled } from '@mui/material/styles';
import AgvCreate from "./AgvCreate";
import AgvPanel from "./AgvPanel";
@@ -80,7 +80,7 @@
return () => clearInterval(intervalId);
}, [refetch]);
- if (isPending) return null;
+ if (isPending) return <LinearProgress />;
if (!data?.length && !hasFilters) return <EmptyData onClick={() => { setCreateDialog(true) }} />;
return (
--
Gitblit v1.9.1