diff --git a/index.html b/index.html index 3538bad..d04f679 100644 --- a/index.html +++ b/index.html @@ -115,6 +115,8 @@ dot.forEach(item => (item.style.background = color)); if (isDark) html.style.background = "#141414"; } + // 高德地图自2021年12月02日升级,升级之后所申请的 key 必须配备安全密钥 jscode 一起使用 + window._AMapSecurityConfig = { securityJsCode: "7375e94447ea4d636b3d12d639ba21ec" };