From 9e92d9fb2f4c7aea544b3286c774c72d931f248b Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Tue, 09 Jul 2024 09:00:16 +0800 Subject: [PATCH] fix: 高德密钥修改 --- public/index.html | 4 ++-- src/main.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 5827bab..1367510 100644 --- a/public/index.html +++ b/public/index.html @@ -16,7 +16,7 @@ type="text/javascript" src="//mapopen.cdn.bcebos.com/github/BMapGLLib/DrawingManager/src/DrawingManager.min.js" ></script> - <script src="https://webapi.amap.com/loca?v=1.3.2&key=be57d4add7dc10fb7f7924763a2179ae&plugin=AMap.MarkerClusterer"></script> + <script src="https://webapi.amap.com/loca?v=1.3.2&key=f4ba1c4d94654309b97a557d41857b48&plugin=AMap.MarkerClusterer"></script> <link rel="icon" href="<%= BASE_URL %>logo.ico" /> <link /> <title>������������������������</title> @@ -144,7 +144,7 @@ <script type="text/javascript"> window._AMapSecurityConfig = { - securityJsCode: "20fcbbc1782d2853f433831e61fab769", + securityJsCode: "f4ba1c4d94654309b97a557d41857b48", }; </script> </html> diff --git a/src/main.ts b/src/main.ts index cf75cbb..fbcc071 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,7 +17,7 @@ import AMap from 'vue-amap' Vue.use(AMap) AMap.initAMapApiLoader({ - key: 'c4e73f2c6972766d6a54dffd2f501cac', + key: 'f4ba1c4d94654309b97a557d41857b48', plugin: ['AMap.moveAnimation', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor', 'AMap.DistrictSearch', 'AMap.Geocoder', 'AMap.Autocomplete'], -- Gitblit v1.8.0