hlyc-web-pack 3.8.3 → 3.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,5 +111,5 @@ type TablePaginationType = TablePaginationConfig & {
111
111
  pages: number;
112
112
  [key: string]: any;
113
113
  };
114
- declare const _default: React.ForwardRefExoticComponent<GenerateTableProp & React.RefAttributes<unknown>>;
114
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<GenerateTableProp & React.RefAttributes<unknown>>>;
115
115
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ButtonProps } from 'antd/es/button';
3
+ import type { FormInstance } from 'antd/es/form';
3
4
  import { FormProps } from 'antd/es/form';
4
5
  import { ColProps } from 'antd/es/col';
5
6
  import { FormListType } from '../GenerateForm';
@@ -58,7 +59,7 @@ export interface LayoutFormModalCallType {
58
59
  /** 设置保存loading */
59
60
  setFormSaveLoading: (data: boolean) => void;
60
61
  /** 设置一组字段状态 */
61
- setFormFields: (filed: any[]) => void;
62
+ setFormFields: FormInstance['setFields'];
62
63
  /** 读取表单值 */
63
64
  getFormValues: (data: string[]) => AnyObjectType | undefined;
64
65
  /** 设置表单值 */
@@ -68,6 +68,8 @@ export interface LayoutTableModalPropType {
68
68
  /** 内容区域高度 */
69
69
  height?: number;
70
70
  };
71
+ /** 虚拟滚动功能 */
72
+ virtual?: GenerateTableProp['extra']['virtual'];
71
73
  /** 排列方式布局Row */
72
74
  rowProps?: RowProps;
73
75
  /** 主内容Col */