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

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', dataIndex: 'content',
align: 'left', align: 'left',
width: 320, width: 320,
ellipsis: true, // ellipsis: true,
scopedSlots: { customRender: 'content' } scopedSlots: { customRender: 'detailText' }
}, },
{ {
title: this.$t('OperationTime'), title: this.$t('OperationTime'),
dataIndex: 'createTime', dataIndex: 'createTime',
align: 'left', align: 'left',
ellipsis: true, // ellipsis: true,
width: 180 width: 180
} }
], ],
@@ -17,7 +17,7 @@
</span> </span>
<span slot="detailText" slot-scope="text,record"> <span slot="detailText" slot-scope="text,record">
<span class="text" :title="text"> <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>
</span> </span>
</a-table> </a-table>