From 8fa1059bd7415fe1237d2e98a6d857de25c4193b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Mon, 26 May 2025 14:32:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(components):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E7=BB=84=E4=BB=B6=E5=92=8C=E8=B0=83=E6=9F=A5?= =?UTF-8?q?=E5=88=86=E6=9E=90=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 YlTable 组件中添加 show-overflow-tooltip 属性,用于控制列内容的显示 - 在 Survey Analysis 组件中设置 tooltip 为 false,优化表格列内容的展示效果 --- src/components/YlTable/Index.vue | 1 + .../Survey/views/Analysis/components/AnalysisInfo/Index.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/YlTable/Index.vue b/src/components/YlTable/Index.vue index 8995b55..4809cd0 100644 --- a/src/components/YlTable/Index.vue +++ b/src/components/YlTable/Index.vue @@ -131,6 +131,7 @@ function tooptipFormatter(data: { row: any; column: any; cellValue: any }): VNod :width="item.width" :prop="item.prop" :label="item.label" + :show-overflow-tooltip="item.tooltip ? item.tooltip : true" >