diff --git a/jsowell-ui/src/components/MapContainer/MapContainer.vue b/jsowell-ui/src/components/MapContainer/MapContainer.vue index 4f3ade0ff..0d971b989 100644 --- a/jsowell-ui/src/components/MapContainer/MapContainer.vue +++ b/jsowell-ui/src/components/MapContainer/MapContainer.vue @@ -40,7 +40,7 @@ import bus from "@/bus/bus"; import {getToken} from "@/utils/auth"; window._AMapSecurityConfig = { - securityJsCode: "829b6b73f84682c2eb982eaa47a745b8", + securityJsCode: "b6b6e07309486e524f9986e1f36a5e28", }; export default { props:['stationLat','stationLng'], @@ -88,7 +88,7 @@ export default { initMap() { // console.log(lat, lng); AMapLoader.load({ - key: "61436c9c789d301a5b73853d176710cf", // 申请好的Web端开发者Key,首次调用 load 时必填 + key: "ba9123dd736bce40f30b52f7c0beebc1", // 申请好的Web端开发者Key,首次调用 load 时必填 version: "1.4.15", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15 plugins: ["AMap.AutoComplete", "AMap.PlaceSearch", "AMap.Geocoder"], // 需要使用的的插件列表,如比例尺'AMap.Scale'等 }) @@ -134,7 +134,7 @@ export default { .catch((e) => { console.log(e); }); - + }, select(e) { this.placeSearch.search(e.poi.name); //关键字查询查询