多宝平台一号站登录|官网·首页

Error

Looks like something broke!

        
TypeError: D:\rock\views\index\product\detail.pug:27
    25|                   .layui-col-sm4
    26|                     .preview-wrap
  > 27|                       img(src=product.img_path)
    28|                       //img(src='/index/img/news_big.jpg')
    29|                       //img(src='/index/img/details_img1.jpg')
    30|                   .layui-col-sm8

Cannot read property 'img_path' of null
    at eval (eval at wrap (D:\rock\node_modules\pug-runtime\wrap.js:6:10), :455:62)
    at template (eval at wrap (D:\rock\node_modules\pug-runtime\wrap.js:6:10), :729:96)
    at D:\rock\node_modules\consolidate\lib\consolidate.js:809:16
    at D:\rock\node_modules\consolidate\lib\consolidate.js:144:5
    at Promise._execute (D:\rock\node_modules\bluebird\js\release\debuggability.js:303:9)
    at Promise._resolveFromExecutor (D:\rock\node_modules\bluebird\js\release\promise.js:483:18)
    at new Promise (D:\rock\node_modules\bluebird\js\release\promise.js:79:10)
    at promisify (D:\rock\node_modules\consolidate\lib\consolidate.js:137:10)
    at exports.pug (D:\rock\node_modules\consolidate\lib\consolidate.js:793:10)
    at D:\rock\node_modules\koa-views\lib\index.js:53:20
    at async D:\rock\routes\index\product.js:71:2
    at async D:\rock\app.js:126:2
    at async session (D:\rock\node_modules\koa-session\index.js:41:7)
    at async D:\rock\node_modules\koa-compress\lib\index.js:38:5
    at async D:\rock\middleware\seteinfo.js:74:3