has been blocked by CORS policy: No Access-Control-Allow-Origin
遇见这个就是遇见跨域问题了,我的是nodejs服务端所以,在app.js里添加app.all('*',function(req,res,next){res.header("Access-Control-Allow-Origin","*");res.header("Access-Control-Allow-Headers","X-Requested-With,Content-Type");res.h