chore: 修改zIndex

This commit is contained in:
dap 2025-01-15 15:28:17 +08:00
parent 256a29dae1
commit 02fba565e0
3 changed files with 6 additions and 10 deletions

View File

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

View File

@ -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,

View File

@ -44,7 +44,12 @@ export function useFullScreenGuide() {
inheritAttrs: false,
setup() {
return () => (
<Tour onClose={closeGuide} open={open.value} steps={steps} />
<Tour
onClose={closeGuide}
open={open.value}
steps={steps}
zIndex={9999}
/>
);
},
});