iview在Table表格中渲染title文字提示,使用render实现

iview在Table表格中渲染title文字提示,使用render实现
文档里面是没有这个样子的,所以我们得改一下代码,代码如下
title: ‘提车量’,
key: ‘tiNumber’,
renderHeader:(h,params)=>{
return h(‘div’,[
h(‘strong’,‘提车量’),
h(‘Icon’,{
props:{
type:‘ios-alert’,
},
style:{
marginLeft:‘5px’
},
attrs:{title:‘提车量顶顶顶顶’}
}),
])
}
},