在html文件中添加如下代码:
<style type="text/css"> table td{word-break: keep-all;white-space:nowrap;} table th{word-break: keep-all;white-space:nowrap;} </style>