zy-acs-flow/src/map/insight/agv/index.jsx
@@ -5,7 +5,7 @@ import JsonShow from '../../JsonShow'; const AgvInsight = (props) => { const { sprite } = props; const { sprite, setTitle } = props; const theme = useTheme(); const themeMode = theme.palette.mode; const translate = useTranslate(); @@ -17,6 +17,16 @@ setActiveTab(newValue); }; useEffect(() => { if (curAgvNo) { setTitle(translate('page.map.devices.agv') + ' - ' + curAgvNo); } return () => { setTitle(null); } }, [curAgvNo]) return ( <Box sx={{ height: '100%', display: 'flex', flexDirection: 'column' }}> <Tabs