From eb4db6de9a76da4af501925227359ca28144284e Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 27 九月 2024 10:51:51 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/mission/MissionList.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zy-acs-flow/src/page/mission/MissionList.jsx b/zy-acs-flow/src/page/mission/MissionList.jsx index 712cc13..0bb97c4 100644 --- a/zy-acs-flow/src/page/mission/MissionList.jsx +++ b/zy-acs-flow/src/page/mission/MissionList.jsx @@ -30,6 +30,7 @@ ReferenceArrayInput, AutocompleteInput, ListToolbar, + Title, } from 'react-admin'; import { matchPath, useLocation } from 'react-router'; import { Box, Typography, Card, Stack } from '@mui/material'; @@ -67,13 +68,13 @@ const { data, isPending, filterValues } = useListContext(); if (isPending) return null; console.log(data); - + if (!data?.length) { return ( <> {/* <MissionEmpty> */} - <MissionShow open={!!matchShow} id={matchShow?.params.id} /> - {/* <DealArchivedList /> */} + <MissionShow open={!!matchShow} id={matchShow?.params.id} /> + {/* <DealArchivedList /> */} {/* </MissionEmpty> */} </> ); -- Gitblit v1.9.1