为表单添加完数据跳转后一直报错
TypeError: Cannot read property 'movie' of undefined
at C:\imooc\app.js:82:19
at Layer.handle [as handle_request] (C:\imooc\node_modules\express\lib\router\layer.js:95:5)
at next (C:\imooc\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\imooc\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\imooc\node_modules\express\lib\router\layer.js:95:5)
at C:\imooc\node_modules\express\lib\router\index.js:281:22
at Function.process_params (C:\imooc\node_modules\express\lib\router\index.js:335:12)
at next (C:\imooc\node_modules\express\lib\router\index.js:275:10)
at serveStatic (C:\imooc\node_modules\serve-static\index.js:75:16)
at Layer.handle [as handle_request] (C:\imooc\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\imooc\node_modules\express\lib\router\index.js:317:13)
at C:\imooc\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\imooc\node_modules\express\lib\router\index.js:335:12)
at next (C:\imooc\node_modules\express\lib\router\index.js:275:10)
at jsonParser (C:\imooc\node_modules\body-parser\lib\types\json.js:94:7)
at Layer.handle [as handle_request] (C:\imooc\node_modules\express\lib\router\layer.js:95:5)