render: (h, params) => {
let _this = this
return h('div',[
h('div',{
class:'text-overflow-ellipsis',//用类名控制文字溢出显示省略号
attrs:{
title:'这是超出要显示的文字',
},
props: {
type: "text",
size: "small",
},
,params.row.isEdit?'内容':'文字内容')
])
}