Ben Lin
2024-08-07 439e3b0f076280311b7cd4251a95820730242780
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 } : {}),
    },
    {