From 13a727c58400a256af3f7582b62d8237b227329e Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期一, 29 四月 2024 19:05:42 +0800 Subject: [PATCH] 人物详情和地图 --- 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