From 02fba565e02edc52a7b684197ae0e582aec08e88 Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Wed, 15 Jan 2025 15:28:17 +0800
Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9zIndex?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
CHANGELOG.md | 1 -
apps/web-antd/src/adapter/vxe-table.ts | 8 --------
apps/web-antd/src/components/tree/src/hook.tsx | 7 ++++++-
3 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a61e2e24..900730dc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,7 +18,6 @@
- 字典项为空时getDict方法无限调用接口(无奈兼容 不给字典item本来就是错误用法)
- 表格排序翻页会丢失排序参数
-- 修改Vxe默认zIndex为995 解决右上角全屏后modal/drawer(zIndex: 1000)被遮挡
**OTHERS**
diff --git a/apps/web-antd/src/adapter/vxe-table.ts b/apps/web-antd/src/adapter/vxe-table.ts
index e34bca03..43174717 100644
--- a/apps/web-antd/src/adapter/vxe-table.ts
+++ b/apps/web-antd/src/adapter/vxe-table.ts
@@ -13,14 +13,6 @@ import { useVbenForm } from './form';
setupVbenVxeTable({
configVxeTable: (vxeUI) => {
vxeUI.setConfig({
- /**
- * @see https://vxetable.cn/#/start/z-index
- * 设置Vxe全局的zIndex
- * 点击右上角全屏zIndex为1003 modal/drawer的zIndex为1000 新增/编辑表单会造成遮挡
- * 在这里修改为<1000即可解决遮挡问题
- * 全屏为995+3=998 全屏会增加3
- */
- zIndex: 995,
grid: {
align: 'center',
border: false,
diff --git a/apps/web-antd/src/components/tree/src/hook.tsx b/apps/web-antd/src/components/tree/src/hook.tsx
index 31b52bdd..b7a70ad8 100644
--- a/apps/web-antd/src/components/tree/src/hook.tsx
+++ b/apps/web-antd/src/components/tree/src/hook.tsx
@@ -44,7 +44,12 @@ export function useFullScreenGuide() {
inheritAttrs: false,
setup() {
return () => (
-
+
);
},
});