ElemeFE / ElemeFE/react-amap

在eletron中地图不显示

Open
#169 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

+ [x] 我已经搜索过 issue,没有类似的问题,或者类似的问题仍然没有解决方案。
+ [x] 我已经搜索过[文档](https://elemefe.github.io/react-amap/articles/start),并且仍然没有找到解决方案。
+ [ ] 我写了个问题重现的例子,链接或者代码将会贴在下面。

#### Reproduce Example Link or Code Fragment

#### What is Expected?

#### What is actually happening?
在react中开发完毕后(地图功能一切正常),使用用electron将其打包为桌面端程序,地图不显示,在控制台中显示错误信息为:Failed to load resource: net::ERR_FILE_NOT_FOUND ,对应的资源地址为file://webapi.amap.com/maps?v=1.4.0&key=0fa14eb2c4a45099146441cd74cb2879&callback=__amap_init_callback
请问应当怎么处理?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.