From 182ee5db2fef7ce86805f981708c0bee0e929219 Mon Sep 17 00:00:00 2001 From: admin-lmm <2497833386@QQ.com> Date: Fri, 4 Aug 2023 10:20:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E5=9C=B0=E5=9B=BE=E7=9A=84ke?= =?UTF-8?q?y=E4=BB=A5=E5=8F=8A=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/components/MapContainer/MapContainer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); //关键字查询查询