From ffbe884e10222d441bf21c397730e93e00dbae38 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 09 十月 2024 12:58:01 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/MapPage.jsx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/zy-acs-flow/src/map/MapPage.jsx b/zy-acs-flow/src/map/MapPage.jsx
index c4267e8..01df102 100644
--- a/zy-acs-flow/src/map/MapPage.jsx
+++ b/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();
@@ -242,6 +244,7 @@
                     setDeviceVisible(false);
                 }}
                 onDrop={onDrop}
+                width={378}
             />
 
         </Box>

--
Gitblit v1.9.1