Comments (2)
目前store只是负责暂存AMap 和 AMapUI的内存地址, 因为AMap和AMapUI的特点只能注册在window顶级对象中. 子组件刷新只要能确保加载顺序就可以. 通常可以采用v-if
或编写ready
等类型的初始化方法.
from amap-js.
好的,感谢回复
from amap-js.
Related Issues (12)
- 您这个不是官方的吧? HOT 1
- ES 方式 import 模块提示错误 HOT 1
- how to load amap loca library HOT 2
- vue 项目中加载多次 HOT 1
- ../package 不能被所有客户环境解析 HOT 1
- vue项目中引用报错无法调用loadui方法 HOT 2
- 请问那个版本可以配置语言包? HOT 4
- 快速入门代码需要完善 HOT 1
- 大佬 能不能整一个 地图搜索的功能 HOT 3
- amap-js 不是模块
- 清空浏览器所有缓存后,加载不成功 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amap-js.