vue axios 遇到「No 'Access-Control-Allow-Origin' header is present on the requested resource.」的問題

在使用axios時候遇到「No 'Access-Control-Allow-Origin' header is present on the requested resource.」的問題。php 緣由:跨域訪問失敗ios 解決方法:在php中增長  axios header('Access-Control-Allow-Origin: *'); header('Access-Control-All
相關文章
相關標籤/搜索