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=>(