mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-27 22:45:05 +08:00
更换地图的key以及密钥
This commit is contained in:
@@ -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); //关键字查询查询
|
||||
|
||||
Reference in New Issue
Block a user