mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
位置api不定义协议
This commit is contained in:
parent
0747251fa1
commit
db8007ca4b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user