浏览器https ,接口http报错问题

报错:

浏览器https ,接口http报错问题_第1张图片index.umd.min.js?1c31:1 Mixed Content: The page at 'https://localhost:8081/h5/#/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://test.shop.daihuoduo.com/index.php?s=/api/passport/smscode'. This request has been blocked; the content must be served over HTTPS.

解决办法:点击链接上路径的不安全--》网站设置--》不安全内容改为允许。

 

你可能感兴趣的:(HTTP)