{"action":"closed","issue":{"url":"https://api.github.com/repos/ElemeFE/react-amap/issues/92","repository_url":"https://api.github.com/repos/ElemeFE/react-amap","labels_url":"https://api.github.com/repos/ElemeFE/react-amap/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/react-amap/issues/92/comments","events_url":"https://api.github.com/repos/ElemeFE/react-amap/issues/92/events","html_url":"https://github.com/ElemeFE/react-amap/issues/92","id":308898993,"number":92,"title":"如何确保useAMapUI加载成功","user":{"login":"HelloAlexian","id":36184988,"avatar_url":"https://avatars0.githubusercontent.com/u/36184988?v=4","gravatar_id":"","url":"https://api.github.com/users/HelloAlexian","html_url":"https://github.com/HelloAlexian","followers_url":"https://api.github.com/users/HelloAlexian/followers","following_url":"https://api.github.com/users/HelloAlexian/following{/other_user}","gists_url":"https://api.github.com/users/HelloAlexian/gists{/gist_id}","starred_url":"https://api.github.com/users/HelloAlexian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelloAlexian/subscriptions","organizations_url":"https://api.github.com/users/HelloAlexian/orgs","repos_url":"https://api.github.com/users/HelloAlexian/repos","events_url":"https://api.github.com/users/HelloAlexian/events{/privacy}","received_events_url":"https://api.github.com/users/HelloAlexian/received_events","type":"User","site_admin":false},"labels":[{"id":610595307,"url":"https://api.github.com/repos/ElemeFE/react-amap/labels/improvement","name":"improvement","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-27T09:53:03Z","updated_at":"2018-04-02T01:50:11Z","closed_at":"2018-04-02T01:50:11Z","author_association":"NONE","body":"<!--\r\n请确保阅读下面的内容并勾选。没有勾选的 Issue 将被关闭。\r\n -->\r\n\r\n+ [x] 我已经搜索过 issue，没有类似的问题，或者类似的问题仍然没有解决方案。\r\n+ [x] 我已经搜索过[文档](https://elemefe.github.io/react-amap/articles/start)，并且仍然没有找到解决方案。\r\n+ [x] 我写了个问题重现的例子，链接或者代码将会贴在下面。\r\n\r\n<!--\r\n请确保阅读上面的内容并勾选。没有勾选的 Issue 将被关闭。\r\n -->\r\n\r\n\r\n#### Reproduce Example Link or Code Fragment\r\n                    <Map amapkey={AMAP_KEY}\r\n                         version={VERSION}\r\n                         useAMapUI\r\n                        // center={{longitude: amapLongitude, latitude: amapLatitude}}\r\n                         zoom={12}\r\n                         className={style.amap}\r\n                    >\r\n                    </Map>\r\n\r\n#### What is Expected?\r\nuseAMapUI是否有相关的回调，可以提醒是否加载完毕？\r\n\r\n#### What is actually happening?\r\nuseAMapUI应该是需要一小段时间的，如果在这一下端期间进入需要AMapUI的组件，会报相关AMapUI的undefined的错误"}}
{"actor":{"display_login":"HelloAlexian"}}