File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 55import { AntdComponent } from '../component' ;
66import { Col } from '../grid/col' ;
77
8- export declare class NFormItem extends AntdComponent {
8+ export declare class FormModelItem extends AntdComponent {
99 /**
1010 * Used with label, whether to display : after label text.
1111 * @default true
@@ -64,6 +64,6 @@ export declare class NFormItem extends AntdComponent {
6464 wrapperCol : Col ;
6565 labelAlign : 'left' | 'right' ;
6666 prop : string ;
67- rules : object | array ;
67+ rules : object | object [ ] ;
6868 autoLink : boolean ;
6969}
Original file line number Diff line number Diff line change 55import { AntdComponent } from '../component' ;
66import { Col } from '../grid/col' ;
77import Vue from 'vue' ;
8- import { NFormItem } from './form-item' ;
8+ import { FormModelItem } from './form-item' ;
99
1010declare interface ValidationRule {
1111 trigger ?: string ;
@@ -79,8 +79,8 @@ declare interface ValidationRule {
7979 validator ?: ( rule : any , value : any , callback : Function ) => any ;
8080}
8181
82- export declare class NForm extends AntdComponent {
83- static Item : typeof NFormItem ;
82+ export declare class FormModel extends AntdComponent {
83+ static Item : typeof FormModelItem ;
8484
8585 /**
8686 * Hide required mark of all form items
You can’t perform that action at this time.
0 commit comments