#
Junjie
2024-06-16 83c548d3dba59aaed9b52b5d413c6912a87d2efc
zy-asrs-flow/src/pages/map/drawer/index.jsx
@@ -5,6 +5,7 @@
import * as Utils from '../utils'
import ShelfDrawer from './shelf';
import AgvDrawer from './agv';
import PointDrawer from './point'
const useStyles = createStyles(({ token, css }) => {
@@ -28,6 +29,9 @@
                rootStyle={{ position: "absolute" }}
                mask={false}
                width={600}
                style={{
                    opacity: .8
                }}
                extra={
                    <Space>
                        <Button onClick={handleCancel}>
@@ -43,6 +47,13 @@
                        />
                    </>
                )}
                {props.curSprite?.data?.type === Utils.SENSOR_TYPE.POINT && (
                    <>
                        <PointDrawer
                            curSprite={curSprite}
                        />
                    </>
                )}
                {props.curSprite?.data?.type === Utils.SENSOR_TYPE.AGV && (
                    <>
                        <AgvDrawer