#
luxiaotao1123
2024-11-04 7f70cb15d035f0c233b9e62b9e43aa985317c908
zy-acs-flow/src/page/operationRecord/OperationDetail.jsx
@@ -11,9 +11,8 @@
import { format } from 'date-fns';
const OperationDetail = (props) => {
    const { operation, setDrawerVal, ...rest } = props;
    console.log(operation);
    const { operation, ...rest } = props;
    return (
        <>
            <Box width={{ xs: '100vW', sm: 400 }} mt={{ xs: 2, sm: 1 }}>
@@ -26,7 +25,7 @@
                                        variant="body2"
                                        flexWrap="nowrap"
                                    >
                                        {operation.namespace}
                                        {operation.namespace || ''}
                                    </Typography>
                                </Labeled>
                            </Grid>
@@ -36,7 +35,7 @@
                                        variant="body2"
                                        flexWrap="nowrap"
                                    >
                                        {operation.url}
                                        {operation.url || ''}
                                    </Typography>
                                </Labeled>
                            </Grid>
@@ -56,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
                                />
@@ -72,7 +71,7 @@
                            <Grid item sm={12}>
                                <TextField
                                    label="Response"
                                    value={operation.response}
                                    value={operation.response || ''}
                                    maxRows={15}
                                    multiline
                                />
@@ -83,7 +82,7 @@
                                        variant="body2"
                                        flexWrap="nowrap"
                                    >
                                        {operation.clientIp}
                                        {operation.clientIp || ''}
                                    </Typography>
                                </Labeled>
                            </Grid>