Commit adacbc97 by wufan

style:视频课创建人样式优化

parent 39ece05e
/*
* @Author: 吴文洁
* @Date: 2020-08-05 10:12:45
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-01-12 10:58:47
* @LastEditors: wufan
* @LastEditTime: 2021-01-12 20:11:09
* @Description: 视频课-列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......@@ -95,7 +95,16 @@ class VideoCourseList extends React.Component {
{
title: '创建人',
key: 'createName',
dataIndex: 'createName'
dataIndex: 'createName',
render: (val) => {
return (
<Tooltip title={val}>
<div>
{val.length > 4 ? `${val.slice(0,4)}...` : val}
</div>
</Tooltip>
)
}
},
{
title: <span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment