#
luxiaotao1123
2024-03-13 612576acb2097799e0b27c4a4701c5d4c2e69a95
#
1个文件已修改
6 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/components/device.jsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/components/device.jsx
@@ -3,6 +3,7 @@
import { FormattedMessage, useIntl, useModel } from '@umijs/max';
import * as PIXI from 'pixi.js';
import { createStyles } from 'antd-style';
import * as Utils from '../utils'
const useStyles = createStyles(({ token, css }) => {
    let dark = token.colorBgBase === '#000';
@@ -36,6 +37,7 @@
import agv from '/public/img/map/agv.svg'
import shelf from '/public/img/map/shelf.png'
import { Util } from '@antv/g6';
const Device = (props) => {
    const { styles } = useStyles();
@@ -86,7 +88,7 @@
                            width='50px'
                            preview={false}
                            draggable="true"
                            onDragStart={(e) => onDragStart(e, 'AGV')}
                            onDragStart={(e) => onDragStart(e, Utils.SENSOR_TYPE.AGV)}
                        />
                        <div className={styles.title}>AGV</div>
                    </Col>
@@ -96,7 +98,7 @@
                            width='35px'
                            preview={false}
                            draggable="true"
                            onDragStart={(e) => onDragStart(e, 'SHELF')}
                            onDragStart={(e) => onDragStart(e, Utils.SENSOR_TYPE.SHELF)}
                        />
                        <div className={styles.title}>SHELF</div>
                    </Col>