Commit ef441be677d247b27e8cac2898a3e090818d89f0
1 parent
f4739859
fix: map url
Showing
1 changed file
with
1 additions
and
1 deletions
front-end/h5/src/components/plugins/lbp-qq-map/src/Map.js
| @@ -5,7 +5,7 @@ export default { | @@ -5,7 +5,7 @@ export default { | ||
| 5 | map: null, | 5 | map: null, |
| 6 | load: function (key) { | 6 | load: function (key) { |
| 7 | return new Promise(function (resolve, reject) { | 7 | return new Promise(function (resolve, reject) { |
| 8 | - const src = 'http://map.qq.com/api/js?v=2.exp&libraries=place&callback=init&key=' + key | 8 | + const src = '//map.qq.com/api/js?v=2.exp&libraries=place&callback=init&key=' + key |
| 9 | if (isScriptLoaded(src)) { | 9 | if (isScriptLoaded(src)) { |
| 10 | resolve(window.qq) | 10 | resolve(window.qq) |
| 11 | return | 11 | return |