位置api不定义协议

This commit is contained in:
2betop 2020-07-28 11:43:34 +08:00
parent 0747251fa1
commit db8007ca4b

View File

@ -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);
}
}