From 44483db9af07997a83abacefcf3fc7372f203bb4 Mon Sep 17 00:00:00 2001 From: JyQAQ <45193678+jyqwq@users.noreply.github.com> Date: Mon, 27 Jul 2026 22:37:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(project):=20=E4=BF=AE=E5=A4=8D=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E4=B8=AD=E8=A1=A8=E5=8D=95=E4=B8=8A=E4=BC=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=A2=84=E8=A7=88=E5=9B=BE=E7=89=87=E5=B1=82=E7=BA=A7?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#8205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 PreviewGroupComponent 的 hidden class 替换为通过 classes.popup.root 设置更高 z-index,避免在弹窗内被遮挡 --- apps/web-antdv-next/src/adapter/component/index.ts | 2 +- playground/src/adapter/component/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web-antdv-next/src/adapter/component/index.ts b/apps/web-antdv-next/src/adapter/component/index.ts index ac3ac5f6..6f40a6a4 100644 --- a/apps/web-antdv-next/src/adapter/component/index.ts +++ b/apps/web-antdv-next/src/adapter/component/index.ts @@ -295,7 +295,7 @@ async function previewImage( return h( PreviewGroupComponent, { - class: 'hidden', + classes: { popup: { root: '!z-2000' } }, preview: { open: open.value, current: currentIndex, diff --git a/playground/src/adapter/component/index.ts b/playground/src/adapter/component/index.ts index bd41e361..7fc39f08 100644 --- a/playground/src/adapter/component/index.ts +++ b/playground/src/adapter/component/index.ts @@ -295,7 +295,7 @@ async function previewImage( return h( PreviewGroupComponent, { - class: 'hidden', + classes: { popup: { root: '!z-2000' } }, preview: { open: open.value, current: currentIndex,