【发布时间】:2020-09-01 22:05:28
【问题描述】:
我的 td 表在值之前先为空。为什么? 我的html是:
<div class="observations">
<div class="sessao_conteudo">
<table class="obs-tabela">
<caption class="obs-caption"><strong>Observations</strong></caption>
<td class="obs-tab-thead">
{{props obs}} {{if key
<=0 }} {{props prop}} <br>{{>key}}:
{{/props}} {{/if}} {{/props}}
</td>
<td>
{{for obs}}
<td class="obs-tab-td">
{{props}}
<br>
{{>prop}}
{{/props}}
</td>
{{/for}}
</td>
</table>
</div>
</div>
如果运行表:
【问题讨论】:
标签: javascript html jsrender jsreport