#
luxiaotao1123
2024-03-14 38106e7b401cb61ac02cc9485aab32df15cce7c2
#
1个文件已修改
29 ■■■■ 已修改文件
zy-asrs-flow/src/pages/map/header/search.jsx 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/header/search.jsx
@@ -1,28 +1,13 @@
import React, { useState, useRef, useEffect } from 'react';
import { Layout, Button, Flex, Row, Col, FloatButton, Select, Spin, AutoComplete } from 'antd';
import { FormattedMessage, useIntl, useModel } from '@umijs/max';
import {
    CloseOutlined
} from '@ant-design/icons';
import { Select, AutoComplete } from 'antd';
import { FormattedMessage, useIntl } from '@umijs/max';
import { CloseOutlined } from '@ant-design/icons';
import * as Utils from '../utils'
const renderTitle = (title, uuid) => (
    <>
        <span
            style={{
                fontWeight: 'bold'
            }}
        >
            {title}
        </span>
        <span
            style={{
                float: 'right',
                opacity: .3
            }}
        >
            {uuid}
        </span>
        <span style={{ fontWeight: 'bold' }} >{title}</span>
        <span style={{ float: 'right', opacity: .3 }} >{uuid}</span>
    </>
);
@@ -90,7 +75,9 @@
                    const uuid = option.label?.props?.children?.[1].props.children
                    setCurSensor(Utils.findSpriteByUuid(uuid));
                }}
                onChange={setCurSensorLabel}
                onChange={(value) => {
                    setCurSensorLabel(value)
                }}
            />
        </>
    )