老师我也有这个问题,代码是按照演示的写的。
POST http://jsonplaceholder.typicode.com/posts/ 503 (Service Unavailable)
:3000/#/admin/form/reg:1 Failed to load http://jsonplaceholder.typicode.com/posts/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 503.