From 815186ab008df841558474b02cd97cb8290dd55b Mon Sep 17 00:00:00 2001 From: RoXoM Date: Sat, 18 Nov 2023 21:14:00 +0800 Subject: [PATCH] =?UTF-8?q?docs(AMapAPIContainer):=20=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stories/createAMapAPIContainer.stories.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx b/src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx index 73732c9..e36d5c8 100644 --- a/src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx +++ b/src/components/AMapAPIContainer/stories/createAMapAPIContainer.stories.tsx @@ -99,9 +99,9 @@ const AsyncPluginAPIContainer = createAMapAPIContainer({ }, }); -${initPlugin.toString()} +const initPlugin = ${initPlugin.toString()} -${initUIPlugin.toString()} +const initUIPlugin = ${initUIPlugin.toString()} const AsyncPluginContentDrawer = () => { const { __AMAP__: AMap } = useAMapAPI(); @@ -192,9 +192,9 @@ const SyncPluginAPIContainer = createAMapAPIContainer({ }, }); -${initPlugin.toString()} +const initPlugin = ${initPlugin.toString()} -${initUIPlugin.toString()} +const initUIPlugin = ${initUIPlugin.toString()} const SyncPluginContentDrawer = () => { const { __AMAP__: AMap, __AMAP_UI__: AMapUI } = useAMapAPI();