vue-resource跨域問題

今天在項目中使用vue-resource的時候,個人vue項目開發地址是http://localhost:8080/set,可是我想獲取http://localhost:80/ 域名下的數據,因而遇到了跨域問題: 我在使用vue-resource請求數據的時候是這樣寫的vue this.$http.get('http://localhost:80/picasso-wan/governance-ap
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息