cp
2024-11-05 40caddc08252ad3276832a14a69cfaf9f71b08c8
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