#
luxiaotao1123
2024-10-17 f60f7c6687df13cb179cd2a95206a10cca9b77d3
zy-acs-flow/src/map/insight/index.jsx
@@ -10,10 +10,11 @@
import AgvInsight from './agv';
const Insight = (props) => {
    const { open, onCancel, sprite, width = PAGE_DRAWER_WIDTH, title } = props;
    const { open, onCancel, sprite, width = PAGE_DRAWER_WIDTH } = props;
    const theme = useTheme();
    const themeMode = theme.palette.mode;
    const translate = useTranslate();
    const [title, setTitle] = useState(null);
    const deviceType = sprite?.data?.type;
@@ -22,7 +23,7 @@
    }
    useEffect(() => {
    }, [])
    }, [sprite])
    return (
        <>
@@ -63,6 +64,7 @@
                                        <>
                                            <ShelfInsight
                                                sprite={sprite}
                                                setTitle={setTitle}
                                            />
                                        </>
                                    )}
@@ -71,6 +73,7 @@
                                        <>
                                            <AgvInsight
                                                sprite={sprite}
                                                setTitle={setTitle}
                                            />
                                        </>
                                    )}