历史记录-退回原因较多时悬浮显示不全

This commit is contained in:
zyx.net
2023-08-22 11:36:09 +08:00
parent 17772c37b1
commit f2662df901
2 changed files with 4 additions and 4 deletions
@@ -402,14 +402,14 @@ export default {
dataIndex: 'content',
align: 'left',
width: 320,
ellipsis: true,
scopedSlots: { customRender: 'content' }
// ellipsis: true,
scopedSlots: { customRender: 'detailText' }
},
{
title: this.$t('OperationTime'),
dataIndex: 'createTime',
align: 'left',
ellipsis: true,
// ellipsis: true,
width: 180
}
],
@@ -17,7 +17,7 @@
</span>
<span slot="detailText" slot-scope="text,record">
<span class="text" :title="text">
{{text && text.length > 10?text.slice(0,9)+'...':text}}
{{text && text.length > 40?text.slice(0,39)+'...':text}}
</span>
</span>
</a-table>