使用axios跨域時,需要構(gòu)建如下類型的api,始終報404api.js中`getContent(){return axios.get(api+'http://www.xxxx.com/xxx/xxxx/xxx.html).then(res=>res)}`有何辦法解決。求幫助。拜謝。
vue axios 無法請求拼接的html地址
小唯快跑啊
2018-12-14 15:15:03