From 41e48c5113d0fc443d5dd7f015f93c849fa9e426 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Wed, 12 Apr 2023 21:44:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/209=E3=80=91VXETable=E8=87=AA?= =?UTF-8?q?=E5=B8=A6=E7=9A=84tooltip=E4=BC=9A=E9=94=99=E4=BD=8D=EF=BC=8C?= =?UTF-8?q?=E6=89=80=E4=BB=A5=E6=9B=BF=E6=8D=A2=E6=88=90=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E7=9A=84title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jeecg/JVxeTable/src/hooks/useData.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/jeecg/JVxeTable/src/hooks/useData.ts b/src/components/jeecg/JVxeTable/src/hooks/useData.ts index a10cb78..a3847d1 100644 --- a/src/components/jeecg/JVxeTable/src/hooks/useData.ts +++ b/src/components/jeecg/JVxeTable/src/hooks/useData.ts @@ -17,10 +17,14 @@ export function useData(props: JVxeTableProps): JVxeDataProps { rowId: props.rowKey, // 高亮hover的行 highlightHoverRow: true, + + // --- 【issues/209】自带的tooltip会错位,所以替换成原生的title --- // 溢出隐藏并显示tooltip - showOverflow: true, + showOverflow: "title", // 表头溢出隐藏并显示tooltip - showHeaderOverflow: true, + showHeaderOverflow: "title", + // --- 【issues/209】自带的tooltip会错位,所以替换成原生的title --- + showFooterOverflow: true, // 可编辑配置 editConfig: {