From ce7cab3f73e46f76b10efd7f8ff8dd5ce712482b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 12 十一月 2024 14:39:43 +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