鍍金池/ 問答/HTML/ 在使用jade模板時(shí)報(bào)錯(cuò)

在使用jade模板時(shí)報(bào)錯(cuò)

extends ../layout

block content
 .container
    .row
       table.table.table-hover.table-bordered
         thead
           tr
             th 電影名字
             th 導(dǎo)演 
             th 國家   
             th 上映年份 
             th 錄入時(shí)間
             th 查看   
             th 更新 
             th 刪除
         tbody
           each item in movies
            tr(class="item-id-#{item.id}")
            td #{item.title}
            td #{item.doctor}
            td #{item.country}
            td #{item.year}
            td #{moment(item.meta.createdAt.format('MM/DD/YYYY')}
            //- td: a(target="_blank",href=../movie/#{item._id}")查看
            //- td: a(target="_blank",href=../admin/update/#{item._id}")修改
            td
              button.btn.btn-danger.del(type="button",data-id="#{item._id}") 刪除

頁面渲染不出來
然后執(zhí)行的時(shí)候報(bào)錯(cuò):
clipboard.png
大佬幫幫忙

回答
編輯回答
離夢

能不能看看那個(gè)244:125是在哪一行,看看這個(gè)244或者125能不能對應(yīng)的文件具體某一行?

2018年1月17日 08:28