Skip to content

Error: Load timeout for modules #256

Description

@Symous
  • 我已经搜索过 issue,没有类似的问题,或者类似的问题仍然没有解决方案。
  • 我已经搜索过文档,并且仍然没有找到解决方案。
  • 我写了个问题重现的例子,链接或者代码将会贴在下面。

Reproduce Example Link or Code Fragment

在页面中渲染react-amap,我使用的是ant design pro / umi

What is Expected?

正常渲染

What is actually happening?

经过测试发现,在网络条件较差的情况下,偶尔会报错:

Error: Load timeout for modules: http://webapi.amap.com/count?type=UIInit&k=f97efc35164149d0c0f299e7a8adb3d2
http://requirejs.org/docs/errors.html#timeout

暂时没有找到原因和解决方案,望有方法可以修复,或者可以捕获到该异常从而进行后续处理,谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions