From 1d3223a620a91a52f65fe4fae961835d93346c78 Mon Sep 17 00:00:00 2001 From: zxyroyy <1442470094@qq.com> Date: Fri, 26 Jun 2026 18:03:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=A0=B7=E5=BC=8F=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rain-earthquake/DisasterChainPointComponent.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/component/rain-earthquake/DisasterChainPointComponent.vue b/src/component/rain-earthquake/DisasterChainPointComponent.vue index 670a27a..b344da6 100644 --- a/src/component/rain-earthquake/DisasterChainPointComponent.vue +++ b/src/component/rain-earthquake/DisasterChainPointComponent.vue @@ -307,16 +307,15 @@ cursor: pointer; transition: background-color 0.3s ease; } - /* 名称列样式:一行显示,超出隐藏 */ - :deep(.el-table .el-table__row td:first-child .cell) { + /* 所有列样式:一行显示,超出隐藏 */ + :deep(.el-table .el-table__row td .cell) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - cursor: pointer; } - /* 鼠标悬浮时显示完整名称 */ - :deep(.el-table .el-table__row td:first-child:hover .cell) { + /* 鼠标悬浮时显示完整内容 */ + :deep(.el-table .el-table__row:hover td .cell) { white-space: normal; overflow: visible; text-overflow: unset;