From f820c258927500f8fcde8f6049e8bd5177ae4335 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Wed, 15 May 2024 16:35:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9table=E6=98=BE?= =?UTF-8?q?=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fvcomponents/fvTable/index.vue | 5 +++++ src/views/system/role/index.vue | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/fvcomponents/fvTable/index.vue b/src/fvcomponents/fvTable/index.vue index d4137f6..478986a 100644 --- a/src/fvcomponents/fvTable/index.vue +++ b/src/fvcomponents/fvTable/index.vue @@ -291,4 +291,9 @@ onMounted(() => { justify-content: space-between; align-content: center; } +.fv-table { + :deep(.el-tooltip) { + width: 100% !important; + } +} diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index b57c813..bdf3eee 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -112,6 +112,7 @@ const tableConfig = reactive({ prop: 'template', label: '是否为模版角色', align: 'center', + showOverflowTooltip: false, currentRender: ({row, index}) => () }, { @@ -122,6 +123,7 @@ const tableConfig = reactive({ { prop: 'state', label: '状态', + showOverflowTooltip: false, align: 'center', currentRender: ({row, index}) => () }, @@ -147,7 +149,7 @@ const tableConfig = reactive({ btn.push({label: '删除', auth: auths.edit, func: ()=>handleDel(row) , type: 'danger'}) } return ( -
+
{ btn.map(item=>(