From a6030a5151c385fcdd55513eb28d189ea4185662 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Tue, 8 Aug 2023 16:40:43 +0800 Subject: [PATCH] refactor: map clear modal getContainer (#2410) --- packages/plugins/map/src/client/components/AMap/Map.tsx | 1 + packages/plugins/map/src/client/components/GoogleMaps/Map.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/plugins/map/src/client/components/AMap/Map.tsx b/packages/plugins/map/src/client/components/AMap/Map.tsx index 5fe1325bb..657322d2b 100644 --- a/packages/plugins/map/src/client/components/AMap/Map.tsx +++ b/packages/plugins/map/src/client/components/AMap/Map.tsx @@ -216,6 +216,7 @@ export const AMapComponent = React.forwardRef document.getElementById(id.current), onOk() { ok(); }, diff --git a/packages/plugins/map/src/client/components/GoogleMaps/Map.tsx b/packages/plugins/map/src/client/components/GoogleMaps/Map.tsx index a14dc859b..980e83b61 100644 --- a/packages/plugins/map/src/client/components/GoogleMaps/Map.tsx +++ b/packages/plugins/map/src/client/components/GoogleMaps/Map.tsx @@ -358,6 +358,7 @@ export const GoogleMapsComponent = React.forwardRef mapContainerRef.current, onOk() { ok(); },