quanyawei
2024-07-04 571f87e61cedd6aac778e8faafbb58ff562fb5df
fix: 高德密钥修改
3 files modified
12 ■■■■ changed files
cmsdist/index.html 2 ●●● patch | view | raw | blame | history
public/index.html 6 ●●●● patch | view | raw | blame | history
src/main.js 4 ●●●● patch | view | raw | blame | history
cmsdist/index.html
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/LOGO.ico><script src="https://webapi.amap.com/maps?v=1.4.15&key=c4e73f2c6972766d6a54dffd2f501cac&plugin=AMap.MarkerClusterer"></script><script src="https://webapi.amap.com/loca?v=1.3.2&key=be57d4add7dc10fb7f7924763a2179ae&plugin=AMap.MarkerClusterer"></script><script src="http://api.map.baidu.com/api?type=webgl&v=2.0&ak=U2SoSp52BoVW6bAEMsxQ7Zfe0tuB6VDp"></script><script src="http://api.map.baidu.com/api?v=3.0&ak=U2SoSp52BoVW6bAEMsxQ7Zfe0tuB6VDp"></script><script src=https://mapv.baidu.com/build/mapv.min.js></script><script src=https://mapv.baidu.com/gl/examples/static/common.js></script><script src="https://cdn.jsdelivr.net/npm/echarts/map/js/china.js?v=1598903772045"></script><script src=https://code.bdstatic.com/npm/mapvgl@1.0.0-beta.97/dist/mapvgl.min.js></script><title>七星瓢虫环境科技</title><style>body {
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/LOGO.ico><script src="https://webapi.amap.com/maps?v=1.4.15&key=f4ba1c4d94654309b97a557d41857b48&plugin=AMap.MarkerClusterer"></script><script src="https://webapi.amap.com/loca?v=1.3.2&key=be57d4add7dc10fb7f7924763a2179ae&plugin=AMap.MarkerClusterer"></script><script src="http://api.map.baidu.com/api?type=webgl&v=2.0&ak=U2SoSp52BoVW6bAEMsxQ7Zfe0tuB6VDp"></script><script src="http://api.map.baidu.com/api?v=3.0&ak=U2SoSp52BoVW6bAEMsxQ7Zfe0tuB6VDp"></script><script src=https://mapv.baidu.com/build/mapv.min.js></script><script src=https://mapv.baidu.com/gl/examples/static/common.js></script><script src="https://cdn.jsdelivr.net/npm/echarts/map/js/china.js?v=1598903772045"></script><script src=https://code.bdstatic.com/npm/mapvgl@1.0.0-beta.97/dist/mapvgl.min.js></script><title>七星瓢虫环境科技</title><style>body {
      margin: 0px;
      padding: 0px;
      height: 100%;
public/index.html
@@ -12,11 +12,11 @@
    <!-- <link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" /> -->
    <script>
      window._AMapSecurityConfig = {
        securityJsCode: '20fcbbc1782d2853f433831e61fab769'
        securityJsCode: 'ef9c2027d42f060b979814c849eea7b9'
      }
    </script>
    <script src="https://webapi.amap.com/maps?v=1.4.15&key=c4e73f2c6972766d6a54dffd2f501cac&plugin=AMap.MarkerClusterer"></script>
    <script src="https://webapi.amap.com/loca?v=1.3.2&key=c4e73f2c6972766d6a54dffd2f501cac&plugin=AMap.MarkerClusterer"></script>
    <script src="https://webapi.amap.com/maps?v=1.4.15&key=f4ba1c4d94654309b97a557d41857b48&plugin=AMap.MarkerClusterer"></script>
    <script src="https://webapi.amap.com/loca?v=1.3.2&key=f4ba1c4d94654309b97a557d41857b48&plugin=AMap.MarkerClusterer"></script>
    <!--    <link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />-->
    <!--    <script src="https://cdn.bootcss.com/jquery/3.5.0/jquery.js"></script>-->
    <script
src/main.js
@@ -47,7 +47,7 @@
Vue.prototype.$clipboard = clipboard
Vue.use(AMap)
AMap.initAMapApiLoader({
  key: 'c4e73f2c6972766d6a54dffd2f501cac',
  key: 'f4ba1c4d94654309b97a557d41857b48',
  plugin: [
    'AMap.moveAnimation',
    'AMap.Autocomplete',
@@ -65,7 +65,7 @@
  v: '1.4.4'
})
window._AMapSecurityConfig = {
  securityJsCode: '20fcbbc1782d2853f433831e61fab769'
  securityJsCode: 'ef9c2027d42f060b979814c849eea7b9'
}
Vue.prototype.$AMap = AMap