原因:跨域 解决:package.json文件中的scripts调试添加
"start": "node index.js", "server": "nodemon index.js --ignore client"