From 8ac66a96bc86966657323879eaf46d6ced87b2fd Mon Sep 17 00:00:00 2001 From: JyQAQ <45193678+jyqwq@users.noreply.github.com> Date: Fri, 17 Jul 2026 15:17:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E4=B8=AD=E4=BD=BF=E7=94=A8=E8=A3=81=E5=89=AA=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=BC=9A=E5=87=BA=E7=8E=B0=E5=B1=82=E7=BA=A7=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#8156)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(@vben/playground): 弹窗中使用裁剪图片会出现层级问题 * fix(project): 修复弹窗中裁剪图片在 web-antd 与 web-antdv-next 的层级问题 --- apps/web-antd/src/adapter/component/index.ts | 1 + apps/web-antdv-next/src/adapter/component/index.ts | 1 + playground/src/adapter/component/index.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/apps/web-antd/src/adapter/component/index.ts b/apps/web-antd/src/adapter/component/index.ts index 81b6e8fa..8a1cadb4 100644 --- a/apps/web-antd/src/adapter/component/index.ts +++ b/apps/web-antd/src/adapter/component/index.ts @@ -360,6 +360,7 @@ function cropImage(file: File, aspectRatio: string | undefined) { ]), centered: true, width: 548, + zIndex: 9999, keyboard: false, maskClosable: false, closable: false, diff --git a/apps/web-antdv-next/src/adapter/component/index.ts b/apps/web-antdv-next/src/adapter/component/index.ts index ebd6909b..4a505fdb 100644 --- a/apps/web-antdv-next/src/adapter/component/index.ts +++ b/apps/web-antdv-next/src/adapter/component/index.ts @@ -379,6 +379,7 @@ function cropImage(file: File, aspectRatio: string | undefined) { ]), centered: true, width: 548, + zIndex: 9999, keyboard: false, maskClosable: false, closable: false, diff --git a/playground/src/adapter/component/index.ts b/playground/src/adapter/component/index.ts index 4ef4669d..9a975a2d 100644 --- a/playground/src/adapter/component/index.ts +++ b/playground/src/adapter/component/index.ts @@ -379,6 +379,7 @@ function cropImage(file: File, aspectRatio: string | undefined) { ]), centered: true, width: 548, + zIndex: 9999, keyboard: false, maskClosable: false, closable: false,