Update rc-form requirement from ~2.2.7 to ~2.4.0 (#13788)

& and preserve option
This commit is contained in:
j3l11234 2018-12-23 00:07:43 +08:00 committed by 偏右
parent a318c2ed77
commit 95cf9f3e48
2 changed files with 3 additions and 1 deletions

View File

@ -83,6 +83,8 @@ export type GetFieldDecoratorOptions = {
normalize?: (value: any, prevValue: any, allValues: any) => any; normalize?: (value: any, prevValue: any, allValues: any) => any;
/** Whether stop validate on first rule of error for this field. */ /** Whether stop validate on first rule of error for this field. */
validateFirst?: boolean; validateFirst?: boolean;
/** 是否一直保留子节点的信息 */
preserve?: boolean;
}; };
// function create // function create

View File

@ -64,7 +64,7 @@
"rc-drawer": "~1.7.6", "rc-drawer": "~1.7.6",
"rc-dropdown": "~2.2.1", "rc-dropdown": "~2.2.1",
"rc-editor-mention": "^1.1.7", "rc-editor-mention": "^1.1.7",
"rc-form": "^2.2.7", "rc-form": "^2.4.0",
"rc-input-number": "~4.3.7", "rc-input-number": "~4.3.7",
"rc-menu": "~7.4.12", "rc-menu": "~7.4.12",
"rc-notification": "~3.3.0", "rc-notification": "~3.3.0",