1、在<table id="listTable" class="listTable">上加入一行:
<
div style=
"width:100%; overflow-x: auto;">
<table
id=
"listTable" class=
"listTable">
同时在后面补全</table></div> 2、在每一列标题和内容的a标签里加一个style
style=
"display:block; overflow:hidden; white-space: nowrap;" class=
"sort" name=
"name"
eg:
<th>
<a href="#" style="display:block;overflow: hidden; white-space: nowrap;" class="sort" name="name" hidefocus>批次名
</a>
</th>
<td width="150px">
<a style="display:block;overflow: hidden; white-space: nowrap;">
${(analyzeBatch.name)!}
</a>
</td>