#
luxiaotao1123
2024-09-27 de7df1d489bdad38dcbeb78d74cad8e3bfa09e3d
zy-acs-flow/src/page/agv/AgvAvatar.jsx
@@ -1,6 +1,7 @@
import * as React from 'react';
import { Avatar } from '@mui/material';
import { Avatar, Typography } from '@mui/material';
import { useRecordContext } from 'react-admin';
import { blueGrey } from '@mui/material/colors';
export const AgvAvatar = (props) => {
    const { width = 40, height = 40 } = props;
@@ -15,6 +16,7 @@
                width,
                height,
                fontSize: height !== 40 ? '0.6rem' : undefined,
                bgcolor: blueGrey[500]
            }}
        >
            {record.uuid}