Ben Lin
2024-06-25 7d26ed0e19bf952e7c037b21bfd687759b46e851
src/components/Table/src/components/editable/CellComponent.ts
@@ -1,6 +1,6 @@
import type { FunctionalComponent, defineComponent } from 'vue';
import type { defineComponent } from 'vue';
import type { ComponentType } from '../../types/componentType';
import { componentMap } from '/@/components/Table/src/componentMap';
import { componentMap } from '@/components/Table/src/componentMap';
import { Popover } from 'ant-design-vue';
import { h } from 'vue';
@@ -13,7 +13,7 @@
  getPopupContainer?: Fn;
}
export const CellComponent: FunctionalComponent = (
export const CellComponent = (
  {
    component = 'Input',
    rule = true,
@@ -33,7 +33,7 @@
    Popover,
    {
      overlayClassName: 'edit-cell-rule-popover',
      visible: !!popoverVisible,
      open: !!popoverVisible,
      ...(getPopupContainer ? { getPopupContainer } : {}),
    },
    {