06 2022 档案
【报错解决】【Vue】与后端交互时,http与https跨域问题
摘要:Vue前端,Java后端,网站开启了强制https
上传项目后发生了以下报错:xhr.js:220 Mixed Content: The page at 'https://xxx' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://xxx'. This request has been blocked; the content must be served over HTTPS.