Javascript 玉表格内的按钮
我想在表格的每一行中添加一个按钮,但该按钮不显示,我不知道为什么。我对jade和node js不熟悉 玉锉Javascript 玉表格内的按钮,javascript,html,pug,Javascript,Html,Pug,我想在表格的每一行中添加一个按钮,但该按钮不显示,我不知道为什么。我对jade和node js不熟悉 玉锉 您没有正确缩进th,它们需要相对于它们所在的tr缩进,并且您需要在最后一个th上包含一个空的th,或者设置colspan=2,以适应编辑按钮所需的td thead tr th ID th Name th Age th City th Department th thead
您没有正确缩进th,它们需要相对于它们所在的tr缩进,并且您需要在最后一个th上包含一个空的th,或者设置colspan=2,以适应编辑按钮所需的td
thead
tr
th ID
th Name
th Age
th City
th Department
th
thead
tr
th ID
th Name
th Age
th City
th Department
th