zy-acs-flow/src/page/agv/AgvAvatar.jsx
@@ -1,6 +1,7 @@ import * as React from 'react'; import { Avatar } 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}