diff --git a/src/views/namespace/index.vue b/src/views/namespace/index.vue index fe5fa8f..ba64f84 100644 --- a/src/views/namespace/index.vue +++ b/src/views/namespace/index.vue @@ -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 => ( {{ @@ -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 => ( -
+
edit(row.id!)}> {$t('common.edit')}