can't read property "_id" 是什么原因?求大神帮帮忙!!感激不尽
添加了bodyParsor模块
var bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({extended:true}));
app.use(bodyParser.json());
extended:true 或是false都不对
app.js
admin.jade
添加了bodyParsor模块
var bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({extended:true}));
app.use(bodyParser.json());
extended:true 或是false都不对
app.js
admin.jade
2017-01-11
Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
有出现这个吗
举报