From a03e985df3b3bc41e820fbc1bf6f92097b85b700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Wed, 25 Oct 2023 16:53:05 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20table=20tooltip=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=BC=A0=E6=A0=87=E7=A7=BB=E4=B8=8A=E5=9B=BE=E6=A0=87=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/elTableTooltipPatch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/elTableTooltipPatch.js b/src/utils/elTableTooltipPatch.js index 18e045a49..b60ede6dd 100644 --- a/src/utils/elTableTooltipPatch.js +++ b/src/utils/elTableTooltipPatch.js @@ -43,6 +43,7 @@ Object.assign(Table.components.TableBody.methods, { tooltip.doDestroy() tooltip.setExpectedState(true) this.activateTooltip(tooltip) + tooltip.$refs.popper.style.cursor = 'pointer' // 点击复制 tooltip.$refs.popper.onclick = () => { message.success(i18n.t('common.CopySuccess'))