最贊回答 / LovelyDida
經過多方研究,我終于知道錯在那里了,用express 的 bodyParser post 上傳文件,bodyParser對請求的包體進行解析,form默認的提交方式是www-form-urlencoded,所以bodyParser應該這樣寫 ?app.use(bodyParser.urlencoded({ extended:true }));
2016-12-16