From 6d57007d7baa0d97ea8c12e24f3c7083756d43ea Mon Sep 17 00:00:00 2001 From: zhuangdashia Date: Sun, 29 Jun 2025 22:46:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/namespace/index.vue | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) 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')}