From 736a85729a54bcce593914eedf52120465433f23 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 11 九月 2024 10:26:08 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/operationRecord/OperationDetail.jsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zy-acs-flow/src/page/operationRecord/OperationDetail.jsx b/zy-acs-flow/src/page/operationRecord/OperationDetail.jsx
index f4739fc..ca45841 100644
--- a/zy-acs-flow/src/page/operationRecord/OperationDetail.jsx
+++ b/zy-acs-flow/src/page/operationRecord/OperationDetail.jsx
@@ -12,7 +12,7 @@
 
 const OperationDetail = (props) => {
     const { operation, ...rest } = props;
-
+    
     return (
         <>
             <Box width={{ xs: '100vW', sm: 400 }} mt={{ xs: 2, sm: 1 }}>
@@ -25,7 +25,7 @@
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
-                                        {operation.namespace}
+                                        {operation.namespace || ''}
                                     </Typography>
                                 </Labeled>
                             </Grid>
@@ -35,7 +35,7 @@
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
-                                        {operation.url}
+                                        {operation.url || ''}
                                     </Typography>
                                 </Labeled>
                             </Grid>
@@ -55,14 +55,14 @@
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
-                                        {operation.userId$}
+                                        {operation.userId$ || ''}
                                     </Typography>
                                 </Labeled>
                             </Grid>
                             <Grid item sm={12}>
                                 <TextField
                                     label="Request"
-                                    value={operation.request}
+                                    value={operation.request || ''}
                                     maxRows={15}
                                     multiline
                                 />
@@ -71,7 +71,7 @@
                             <Grid item sm={12}>
                                 <TextField
                                     label="Response"
-                                    value={operation.response}
+                                    value={operation.response || ''}
                                     maxRows={15}
                                     multiline
                                 />
@@ -82,7 +82,7 @@
                                         variant="body2"
                                         flexWrap="nowrap"
                                     >
-                                        {operation.clientIp}
+                                        {operation.clientIp || ''}
                                     </Typography>
                                 </Labeled>
                             </Grid>

--
Gitblit v1.9.1