#
luxiaotao1123
2024-10-17 f60f7c6687df13cb179cd2a95206a10cca9b77d3
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