访问页面报错:TypeError: View is not a function
at EventEmitter.render (F:\trainning\imooc-scott-projects\imooc\node_modules
\express\lib\application.js:569:12)
app.set('view', './views') 错误
app.set('views', './views') 正确
at EventEmitter.render (F:\trainning\imooc-scott-projects\imooc\node_modules
\express\lib\application.js:569:12)
app.set('view', './views') 错误
app.set('views', './views') 正确
2016-10-26
最赞回答 / 大猫_0001
2018-01-26,目前express和mongo的版本,要把 新增页面的input hidden的name改成 id ,接收页面,var id = req.body.id
2016-10-20