From 517e8ec7024d67263e2df543cc7c84ab8b294b24 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 02 三月 2024 09:51:56 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/index.jsx |   29 +++++++++++++++++++----------
 1 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/index.jsx b/zy-asrs-flow/src/pages/map/index.jsx
index abfbe68..41fe8dc 100644
--- a/zy-asrs-flow/src/pages/map/index.jsx
+++ b/zy-asrs-flow/src/pages/map/index.jsx
@@ -11,7 +11,7 @@
     let dark = token.colorBgBase === '#000';
     return {
         layout: {
-            // overflow: 'hidden',
+            overflow: 'hidden',
         },
         header: {
             height: 64,
@@ -109,20 +109,29 @@
                     <Flex className={styles.flex} gap={'large'} justify={'flex-end'} align={'center'}>
                         <Button onClick={editHandle} size={'large'}><FormattedMessage id='map.edit' defaultMessage='缂栬緫鍦板浘' /></Button>
                     </Flex>
+
+                    <Edit
+                        open={editModalVisible}
+                        onCancel={
+                            () => {
+                                setEditModalVisible(false);
+                            }
+                        }
+                        refCurr={mapRef.current}
+                    />
                 </Header>
                 <Content ref={contentRef} className={styles.content}>
-                    <div ref={mapRef}></div>
+                    <div ref={mapRef} style={{ position: "relative" }}>
+
+                    </div>
+
+
                 </Content>
+
+
             </Layout>
 
-            <Edit
-                open={editModalVisible}
-                onCancel={
-                    () => {
-                        setEditModalVisible(false);
-                    }
-                }
-            />
+
         </>
     )
 }

--
Gitblit v1.9.1