fix: 暂时移除getPopupContainer挂载到父节点 浮层滚动条和表格滚动条有冲突

This commit is contained in:
dap 2025-08-29 17:03:55 +08:00
parent e2f361929c
commit afb9334de0

View File

@ -2,8 +2,6 @@ import type { Recordable } from '@vben/types';
import type { VxeGridProps } from '#/adapter/vxe-table'; import type { VxeGridProps } from '#/adapter/vxe-table';
import { getPopupContainer } from '@vben/utils';
import { Checkbox, Input, Select } from 'ant-design-vue'; import { Checkbox, Input, Select } from 'ant-design-vue';
const JavaTypes: string[] = [ const JavaTypes: string[] = [
@ -104,7 +102,7 @@ export const vxeTableColumns: (
return ( return (
<Select <Select
class="w-full" class="w-full"
getPopupContainer={getPopupContainer} getPopupContainer={() => document.body}
options={javaTypeOptions} options={javaTypeOptions}
v-model:value={row.javaType} v-model:value={row.javaType}
></Select> ></Select>
@ -208,7 +206,7 @@ export const vxeTableColumns: (
return ( return (
<Select <Select
class="w-full" class="w-full"
getPopupContainer={getPopupContainer} getPopupContainer={() => document.body}
options={queryTypeOptions} options={queryTypeOptions}
v-model:value={row.queryType} v-model:value={row.queryType}
></Select> ></Select>
@ -252,7 +250,7 @@ export const vxeTableColumns: (
return ( return (
<Select <Select
class="w-full" class="w-full"
getPopupContainer={getPopupContainer} getPopupContainer={() => document.body}
options={componentsOptions} options={componentsOptions}
v-model:value={row.htmlType} v-model:value={row.htmlType}
></Select> ></Select>
@ -293,7 +291,7 @@ export const vxeTableColumns: (
allowClear={true} allowClear={true}
class="w-full" class="w-full"
disabled={disabled} disabled={disabled}
getPopupContainer={getPopupContainer} getPopupContainer={() => document.body}
onDeselect={onDeselect} onDeselect={onDeselect}
options={dictOptions} options={dictOptions}
placeholder="请选择字典类型" placeholder="请选择字典类型"