{
title: $t('fileName'),
key: 'name',
width: 180,
align: 'left',
fixed: 'left',
render(row) {
return h('div', { style: { display: 'flex', alignItems: 'center', cursor: 'pointer' } }, [
h('span', { style: { color: '#ccc' } }, { default: () => row.nameShort }),
h('span', { style: { width: '12px' } }, { default: () => null }),
h(NIcon, { size: 28 }, { default: () => h(FolderOpenOutline) }),
h('span', { style: { width: '6px' } }, { default: () => null }),
h('span', null, { default: () => row.name }),
]);
},
},
标签:值且,span,渲染,default,style,width,table,null,row
From: https://www.cnblogs.com/bingMIN/p/18203274