From c6edeee120adaefa79f74e3a4d14c8b907c28e6f Mon Sep 17 00:00:00 2001 From: RoXoM Date: Thu, 21 Sep 2023 00:53:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=84=E4=BB=B6=20AMapEllipse=20?= =?UTF-8?q?=E5=BC=82=E6=AD=A5=E5=8A=A0=E8=BD=BD=E4=BA=86=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AMapEllipse/AMapEllipse.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AMapEllipse/AMapEllipse.tsx b/src/components/AMapEllipse/AMapEllipse.tsx index aaf6a96..de4a9ac 100644 --- a/src/components/AMapEllipse/AMapEllipse.tsx +++ b/src/components/AMapEllipse/AMapEllipse.tsx @@ -58,7 +58,7 @@ const AMapEllipse: FC = ({ onTouchend, }) => { const initInstance = useCallback((AMap) => new AMap!.Ellipse(), []); - const curInstance = useAMapPluginInstance('MapType', initInstance); + const curInstance = useAMapPluginInstance('Ellipse', initInstance); useSetter>(curInstance, 'setCenter', center!); useSetter>(curInstance, 'setRadius', radius!);