Skip to content

Commit

Permalink
feat: 发布
Browse files Browse the repository at this point in the history
  • Loading branch information
lhbxs committed Mar 25, 2024
1 parent 3ed749b commit 322156a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/form-render/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "form-render",
"version": "2.4.3",
"version": "2.4.4",
"description": "通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成",
"keywords": [
"Form",
Expand Down
3 changes: 2 additions & 1 deletion packages/form-render/src/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { RuleItem } from 'async-validator';
import * as React from 'react';
import type { FormInstance as AntdFormInstance, FormProps as AntdFormProps, ColProps, TooltipProps } from 'antd';
import type { ConfigProviderProps } from 'antd/es/config-provider';
import type { FormProps as RcFormProps } from 'rc-field-form/lib/Form';

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

0 comments on commit 322156a

Please sign in to comment.