diff --git a/src/components/BaiduMapPicker.tsx b/src/components/BaiduMapPicker.tsx index 92308020f..24f239ff8 100644 --- a/src/components/BaiduMapPicker.tsx +++ b/src/components/BaiduMapPicker.tsx @@ -72,7 +72,7 @@ export class BaiduMapPicker extends React.Component< this.initMap(); } else { loadScript( - `http://api.map.baidu.com/api?v=2.0&ak=${this.props.ak}&callback={{callback}}` + `//api.map.baidu.com/api?v=2.0&ak=${this.props.ak}&callback={{callback}}` ).then(this.initMap); } }