search

Home  >  Q&A  >  body text

Cross-domain issues of front-end and back-end separation

Integration: phpstudy

Front-end VUE: www.front.com :80

Back-end TP6: www.tp6.com :80

Front-end axiou-> get("www.tp6.com")

Error:

Access to XMLHttpRequest at 'http://xxxxxxxxxxx' from origin 'http://xxxxxxxx' has been blocked by CORS policy : No 'Access-Control-Allow-Origin' header is present on the requested resource.

谢耀威谢耀威1188 days ago991

reply all(0)I'll reply

No reply
  • Cancelreply