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