8000 add update date · daysCounting/imooc@eb90539 · GitHub
[go: up one dir, main page]

Skip to content

Commit eb90539

Browse files
committed
add update date
1 parent 16bc33a commit eb90539

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

views/pages/list.jade

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ block content
1010
th 导演
1111
th 国家
1212
th 上映年份
13-
//-th 录入时间
13+
th 更新时间
1414
th 查看
1515
th 更新
1616
th 删除
@@ -21,8 +21,8 @@ block content
2121
td #{item.doctor}
2222
td #{item.country}
2323
td #{item.year}
24-
//-td #{moment(item.meta.createAt).format('MM/DD/YYYY')}
24+
td #{moment(item.meta.updateAt).format('MM/DD/YYYY')}
2525
td: a(target="_blank",href="../movie/#{item._id}") 查看
2626
td: a(target="_blank",href="../admin/update/#{item._id}") 修改
2727
td
28-
button.btn.btn.danger.del(type="button",date-id="#{item._id}") 删除
28+
button.btn.btn.danger.del(type="button",date-id="#{item._id}") 删除

0 commit comments

Comments
 (0)
0