Skip to content

Commit 322156a

Browse files
committed
feat: 发布
1 parent 3ed749b commit 322156a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/form-render/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "form-render",
3-
"version": "2.4.3",
3+
"version": "2.4.4",
44
"description": "通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成",
55
"keywords": [
66
"Form",

packages/form-render/src/type.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { RuleItem } from 'async-validator';
22
import * as React from 'react';
33
import type { FormInstance as AntdFormInstance, FormProps as AntdFormProps, ColProps, TooltipProps } from 'antd';
44
import type { ConfigProviderProps } from 'antd/es/config-provider';
5+
import type { FormProps as RcFormProps } from 'rc-field-form/lib/Form';
56

67
export type { RuleItem } from 'async-validator';
78
export type SchemaType =
@@ -333,7 +334,7 @@ export interface FRProps extends Omit<AntdFormProps, 'form'> {
333334
/**
334335
* 覆盖默认的校验信息
335336
*/
336-
validateMessages?: ConfigProviderProps['form']['validateMessages'];
337+
validateMessages?: RcFormProps['validateMessages'];
337338
/**
338339
* 显示当前表单内部状态
339340
*/

0 commit comments

Comments
 (0)