使用antd中,table表树形内容展示,+号与文字不在一行如图: 问题分析:+号与内容换行了。 在table表中column对于的customRender内容。注意写成span不能写成div。 把div改成span就正常了。