思路及代码 以下是参考官网给的案例,代码如下 function main(portlet: ITablePortlet){ portlet.appendCss(".table_list_notEmpty .el-table .cell",{ 'white-space': "normal" }) }