antDesign中通过columns中的每列的props来设置该列的td的样式或者类名

  {
                width : 200,
                title : '备注',
                dataIndex : 'Description',
                render : (text)=>{
                    return {
                        children : text,
                        props : {
                            style : {wordBreak : 'break-all'},
                            className:"ddd",
                            colSpan:2
                        }
                    }
                }
            }

  

posted @ 2022-08-04 18:26  “匆匆”  阅读(558)  评论(0)    收藏  举报