('Access-Control-Allow-Headers', 'Content-Type, Content-Length, Authorization, Accept, X-Requested-With...');
res.header("Access-Control-Allow-Credentials", "true");
res.header("Access-Control-Allow-Origin...不能设为星号,既然不让我设为星号,我就改成前端项目的配置
res.header("Access-Control-Allow-Origin", http://127.0.0.1:8081);
注意:...('Access-Control-Allow-Headers', 'Content-Type, Content-Length, Authorization, Accept, X-Requested-With...');
res.header("Access-Control-Allow-Credentials", "true");
res.header("Access-Control-Allow-Origin