From 7e607cd1c2ff4b9d97bec84aee71663f6a5e9ac5 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期日, 29 九月 2024 10:44:06 +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