#
luxiaotao1123
2024-03-22 9f4a1cf5f91f85c49d3e609f19c9e833a08ca8ee
zy-asrs-flow/src/pages/map/components/device.jsx
@@ -37,7 +37,7 @@
import agv from '/public/img/map/agv.svg'
import shelf from '/public/img/map/shelf.png'
import { Util } from '@antv/g6';
import point from '/public/img/map/point.svg'
const Device = (props) => {
    const intl = useIntl();
@@ -76,6 +76,9 @@
                rootStyle={{ position: "absolute" }}
                mask={false}
                width={378}
                style={{
                    opacity: .8
                }}
                extra={
                    <Space>
                        <Button onClick={() => props.onCancel()}><FormattedMessage id='common.cancel' defaultMessage='取消' /></Button>
@@ -107,16 +110,18 @@
                            <FormattedMessage id='map.sensor.type.shelf' defaultMessage='货架' />
                        </div>
                    </Col>
                    <Col className={styles.mapCol} span={8} >
                    <Col className={styles.mapCol} span={8}>
                        <Image
                            src={agv}
                            src={point}
                            style={{
                            }}
                            width='50px'
                            preview={false}
                            draggable="true"
                            onDragStart={(e) => onDragStart(e, Utils.SENSOR_TYPE.AGV)}
                            onDragStart={(e) => onDragStart(e, Utils.SENSOR_TYPE.POINT)}
                        />
                        <div className={styles.title}>
                            <FormattedMessage id='map.sensor.type.agv' defaultMessage='无人小车' />
                            <FormattedMessage id='map.sensor.type.point' defaultMessage='定位点' />
                        </div>
                    </Col>
                </Row>