在table外面的div写上一下样式 <div style="height: 500px; margin: 0px; padding: 0px; overflow: auto"> 转载于:https://www.cnblogs.com/supersh/p/4525941.html