fix: 修改Vxe默认zIndex为995 解决右上角全屏后modal/drawer(zIndex: 1000)被遮挡

This commit is contained in:
dap 2025-01-14 14:10:40 +08:00
parent ee9c271854
commit 2bef75e044
2 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,7 @@
- 字典项为空时getDict方法无限调用接口(无奈兼容 不给字典item本来就是错误用法)
- 表格排序翻页会丢失排序参数
- 修改Vxe默认zIndex为995 解决右上角全屏后modal/drawer(zIndex: 1000)被遮挡
**OTHERS**

View File

@ -13,6 +13,14 @@ 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,