hlyc-web-pack 3.6.0 → 3.6.11
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.
- package/lib/LayoutFormModal/index.d.ts +7 -1
- package/lib/index.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ButtonProps } from 'antd/es/button';
|
|
2
3
|
import { FormInstance } from 'rc-field-form/es/interface';
|
|
3
4
|
import { FormProps } from 'antd/es/form';
|
|
4
5
|
import { ColProps } from 'antd/es/col';
|
|
@@ -19,8 +20,13 @@ export interface LayoutFormPropTypes {
|
|
|
19
20
|
topRender?: React.ReactElement;
|
|
20
21
|
/** 组件子元素插槽 */
|
|
21
22
|
children?: React.ReactNode;
|
|
22
|
-
/** 底部操作按钮自定义 */
|
|
23
|
+
/** 底部操作按钮自定义HTML */
|
|
23
24
|
footer?: React.ReactNode;
|
|
25
|
+
/** 底部操作按钮自定义Array */
|
|
26
|
+
footBtnList?: {
|
|
27
|
+
model: 'new' | 'before' | 'after';
|
|
28
|
+
data: ButtonProps[];
|
|
29
|
+
};
|
|
24
30
|
/** 手动参数转换 */
|
|
25
31
|
manualParameterChange?: (params: AnyObjectType) => AnyObjectType;
|
|
26
32
|
/** 手动验证表单 */
|