#
luxiaotao1123
2024-10-09 ffbe884e10222d441bf21c397730e93e00dbae38
zy-acs-flow/src/map/MapPage.jsx
@@ -1,4 +1,5 @@
import React, { useState, useRef, useEffect, useMemo } from "react";
import { useTranslate } from "react-admin";
import {
    TextField,
    Select,
@@ -29,6 +30,7 @@
    const theme = useTheme();
    const themeMode = theme.palette.mode;
    const notify = useNotification();
    const translate = useTranslate();
    const mapRef = useRef();
    const contentRef = useRef();
@@ -76,7 +78,6 @@
                setDeviceVisible(false);
                break
            case MapMode.MOVABLE_MODE:
                setDeviceVisible(true);
                break
            case MapMode.SETTINGS_MODE:
                setDeviceVisible(false);
@@ -243,6 +244,7 @@
                    setDeviceVisible(false);
                }}
                onDrop={onDrop}
                width={378}
            />
        </Box>