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

@@ -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}
/>
);
},
});