ztree 样式修改 white-space: nowrap; 后 下划线要是跟上的话 宽度 width 要 auto 就自动更新了 auto; border-bottom:1px solid #ccc; height:30px; display: inline-block;white-space: nowrap;