样式里常用的字段截取方式
<td style="width:120px; word-break: break-all;"><%= switch.download_url %></td>
word-break
overflow-wrap
word-wrap
参考:
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis
参考:
<td style="width:120px; word-break: break-all;"><%= switch.download_url %></td>