Commit adacbc97 by wufan

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

parent 39ece05e
/* /*
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-08-05 10:12:45 * @Date: 2020-08-05 10:12:45
* @LastEditors: zhangleyuan * @LastEditors: wufan
* @LastEditTime: 2021-01-12 10:58:47 * @LastEditTime: 2021-01-12 20:11:09
* @Description: 视频课-列表模块 * @Description: 视频课-列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有 * @Copyright: 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -95,7 +95,16 @@ class VideoCourseList extends React.Component { ...@@ -95,7 +95,16 @@ class VideoCourseList extends React.Component {
{ {
title: '创建人', title: '创建人',
key: 'createName', 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> 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