Commit acb0f33d by 前端

修复bug

1 parent 1f7f31d0
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
_this.init(window.AMap); _this.init(window.AMap);
return false; return false;
} }
AMapLoader.rest(); AMapLoader.reset();
AMapLoader.load({ AMapLoader.load({
key: CONSTANT.MAP_KEY, // 申请好的Web端开发者Key,首次调用 load 时必填 key: CONSTANT.MAP_KEY, // 申请好的Web端开发者Key,首次调用 load 时必填
version: "1.4.2", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15 version: "1.4.2", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!