#
luxiaotao1123
2024-03-15 0ba7d30c63d5c6608ac7807caa486be9ad9b055f
#
1个文件已修改
3 ■■■■ 已修改文件
zy-asrs-flow/src/pages/map/header/search.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/header/search.jsx
@@ -93,7 +93,8 @@
    // second select
    React.useEffect(() => {
        if (!Utils.getMapContainer()) { return; }
        if (curSensorLabel && sensorList && sensorList.length > 0) {
        if ((curSensorLabel !== null || curSensorLabel != undefined)
            && sensorList && sensorList.length > 0) {
            setFilterSensorList(sensorList.filter(item => item.value.includes(curSensorLabel)));
        }
    }, [curSensorLabel])