| | |
| | | import React, { useState, useRef, useEffect } from 'react'; |
| | | import { Col, Form, Modal, Row, Checkbox, Skeleton, Tree, Drawer, Space, Button, Card } from 'antd'; |
| | | import { Col, Form, Modal, Row, Checkbox, Image, Tree, Drawer, Space, Button, Card } from 'antd'; |
| | | import { FormattedMessage, useIntl, useModel } from '@umijs/max'; |
| | | |
| | | import agv from '/public/img/map/agv.svg' |
| | | |
| | | const Edit = (props) => { |
| | | return ( |
| | |
| | | rootStyle={{ position: "absolute" }} |
| | | mask={false} |
| | | width={378} |
| | | extra={ |
| | | <Space> |
| | | <Button onClick={() => props.onCancel()}><FormattedMessage id='common.cancel' defaultMessage='取消' /></Button> |
| | | </Space> |
| | | } |
| | | > |
| | | <Card> |
| | | |
| | | <Image |
| | | src={agv} |
| | | width='50px' |
| | | preview={false} |
| | | /> |
| | | </Card> |
| | | </Drawer> |
| | | </> |