zy-asrs-flow/src/pages/map/drawer/agv/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zy-asrs-flow/src/pages/map/drawer/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-asrs-flow/src/pages/map/drawer/agv/index.jsx
New file @@ -0,0 +1,30 @@ import React, { useState, useRef, useEffect } from 'react'; import { Drawer, Space, Button } from 'antd'; import { FormattedMessage, useIntl, useModel } from '@umijs/max'; import { createStyles } from 'antd-style'; import * as Utils from '../../utils' import Http from '@/utils/http'; const useStyles = createStyles(({ token, css }) => { }) const AgvDrawer = (props) => { const intl = useIntl(); const { styles } = useStyles(); const handleCancel = () => { props.onCancel(); }; const handleOk = () => { } return ( <> <h1>Agv</h1> </> ) } export default AgvDrawer; 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> </> ) zy-asrs-flow/src/pages/map/drawer/shelf/index.jsx
@@ -22,7 +22,7 @@ return ( <> <h1>sad</h1> <h1>Shelf</h1> </> ) }