【发布时间】:2017-08-15 01:32:55
【问题描述】:
我正在使用 ng-repeat 循环遍历一些数据以显示在表格上。我希望格式为 2 列下的 2 列和 1 行...
现在我有:
<table class="table table-borderless table-striped">
<tbody>
<tr ng-repeat="file in files">
<td>{{file}}<br>
</td>
<td>{{file.name}}</td>
<td>{{file.error.message}}</td>
</tr>
</tbody>
</table>
例如:
【问题讨论】:
-
发布
files数组 -
它只是一个包含字符串的数组....寻找更多样式帮助
标签: css angularjs twitter-bootstrap html-table