zy-asrs-flow/src/pages/map/drawer/index.jsx
@@ -5,6 +5,7 @@ import * as Utils from '../utils' import Http from '@/utils/http'; import ShelfDrawer from './shelf'; import AgvDrawer from './agv'; const useStyles = createStyles(({ token, css }) => { @@ -41,7 +42,20 @@ </Space> } > {props.curSprite?.data?.uuid} {props.curSprite?.data?.type === Utils.SENSOR_TYPE.SHELF && ( <> <ShelfDrawer /> </> )} {props.curSprite?.data?.type === Utils.SENSOR_TYPE.AGV && ( <> <AgvDrawers /> </> )} </Drawer> </> )