From dc23dd14151830101a7680a61bf253fc8d36ca85 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 29 九月 2024 14:05:13 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/mission/MissionShow.jsx | 41 ++++++++++++++++++++---------------------
1 files changed, 20 insertions(+), 21 deletions(-)
diff --git a/zy-acs-flow/src/page/mission/MissionShow.jsx b/zy-acs-flow/src/page/mission/MissionShow.jsx
index fb0c7ce..26e8e0e 100644
--- a/zy-acs-flow/src/page/mission/MissionShow.jsx
+++ b/zy-acs-flow/src/page/mission/MissionShow.jsx
@@ -32,27 +32,25 @@
};
return (
- <>
- <Dialog
- open={open}
- onClose={handleClose}
- fullWidth
- maxWidth="md"
- sx={{
- '& .MuiDialog-container': {
- alignItems: 'flex-start',
- },
- }}
- >
- <DialogContent sx={{ padding: 0 }}>
- {!!id ? (
- <ShowBase id={id}>
- <MissionShowContent handleClose={handleClose} />
- </ShowBase>
- ) : null}
- </DialogContent>
- </Dialog>
- </>
+ <Dialog
+ open={open}
+ onClose={handleClose}
+ fullWidth
+ maxWidth="md"
+ sx={{
+ '& .MuiDialog-container': {
+ alignItems: 'flex-start',
+ },
+ }}
+ >
+ <DialogContent sx={{ padding: 0 }}>
+ {!!id ? (
+ <ShowBase id={id}>
+ <MissionShowContent handleClose={handleClose} />
+ </ShowBase>
+ ) : null}
+ </DialogContent>
+ </Dialog>
)
}
@@ -60,6 +58,7 @@
const MissionShowContent = ({ handleClose }) => {
const record = useRecordContext();
if (!record) return null;
+ console.log(record);
return (
<>
--
Gitblit v1.9.1