命名空间显示优化
This commit is contained in:
parent
594bc683cf
commit
6d57007d7b
@ -85,6 +85,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
||||
title: $t('page.namespace.uniqueId'),
|
||||
align: 'left',
|
||||
width: 180,
|
||||
ellipsis: {
|
||||
tooltip: false, // 默认悬浮显示完整内容:ml-citation{ref="1" data="citationList"}
|
||||
contentStyle: { maxWidth: '120px' } // 自定义提示框宽度:ml-citation{ref="1" data="citationList"}
|
||||
},
|
||||
render: row => (
|
||||
<NPopover>
|
||||
{{
|
||||
@ -102,21 +106,34 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
||||
key: 'createDt',
|
||||
title: $t('page.common.createTime'),
|
||||
align: 'left',
|
||||
width: 130
|
||||
width: 120,
|
||||
ellipsis: {
|
||||
tooltip: true, // 默认悬浮显示完整内容:ml-citation{ref="1" data="citationList"}
|
||||
contentStyle: { maxWidth: '110px' } // 自定义提示框宽度:ml-citation{ref="1" data="citationList"}
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'updateDt',
|
||||
title: $t('page.common.upadteTime'),
|
||||
align: 'left',
|
||||
width: 130
|
||||
width: 120,
|
||||
ellipsis: {
|
||||
tooltip: true, // 默认悬浮显示完整内容:ml-citation{ref="1" data="citationList"}
|
||||
contentStyle: { maxWidth: '110px' } // 自定义提示框宽度:ml-citation{ref="1" data="citationList"}
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'operate',
|
||||
title: $t('common.operate'),
|
||||
align: 'center',
|
||||
width: 80,
|
||||
fixed: 'right',
|
||||
width: 130,
|
||||
// ellipsis: {
|
||||
// tooltip: true, // 默认悬浮显示完整内容:ml-citation{ref="1" data="citationList"}
|
||||
// contentStyle: { maxWidth: '110px' } // 自定义提示框宽度:ml-citation{ref="1" data="citationList"}
|
||||
// },
|
||||
render: row => (
|
||||
<div class="flex-center gap-8px">
|
||||
<div class="flex-center gap-5px" style="margin-left:12px">
|
||||
<NButton type="primary" text ghost size="small" onClick={() => edit(row.id!)}>
|
||||
{$t('common.edit')}
|
||||
</NButton>
|
||||
|
Loading…
Reference in New Issue
Block a user