Mixed Content: The page at ‘’ was loaded over HTTPS, but requested an insecure script ‘’. This request has been blocked; the content must be served over HTTPS.
这是因为线上是https协议与引入时的http协议导致
https://api.map.baidu.com/getscript?v=3.0&ak=你的密钥&s=1
<!-- 将不安全的http升级为https -->
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">