我可以使用转发器来控制angularjs中表格列的宽度吗? col ng-repeat
<colgroup>
<col ng-repeat="th in eventCollection.head" ng-style="width:{{th.width}}" />
<!--<col span="1" style="width: 5px;">
<col span="1" style="width: 100px;">
<col span="1" style="width: 20px;">
<col span="1" style="width: 20px;">
<col span="1" style="width: 20px;">
<col span="1" style="width: 20px;">-->
</colgroup>
答案 0 :(得分:2)
失去双重支撑:
<col ng-repeat="th in eventCollection.head" span="1" ng-style="{ width: th.width }">