From c99cfa08505196fd6ba4d0ea8bd4dcf7a1fb268e Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 07 六月 2024 16:27:53 +0800 Subject: [PATCH] 1 --- src/static/map.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/static/map.js b/src/static/map.js index 316ae10..3b55a47 100644 --- a/src/static/map.js +++ b/src/static/map.js @@ -9,8 +9,10 @@ } let script = document.createElement('script') script.type = 'text/javascript' - script.src = 'http://api.map.baidu.com/api?v=2.0&ak=' + ak + '&__ec_v__=20190126&callback=onBMapCallback' + script.src = 'http://api.map.baidu.com/api?v=3.0&ak=' + ak + '&__ec_v__=20190126&callback=onBMapCallback' script.onerror = reject document.head.appendChild(script) }) -} \ No newline at end of file +} + + -- Gitblit v1.9.1