Axiso解決跨域訪問

源碼地址:https://github.com/jitwxs/blog_samplevue 這裏以訪問豆瓣Top250爲例,直接訪問以下:java this.$axios.get("http://api.douban.com/v2/movie/top250") .then(res=>{ console.log(res) }) .catch(err=>{ console.log(err) })
相關文章
相關標籤/搜索