保誠-保戶業務員媒合平台
jack
2025-01-06 e0c6891acc471f9adf2e29b2a5bed3f8337a92b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { ElementUIComponent, ElementUIComponentSize } from './component'
 
/** FormItem Component */
export declare class ElFormItem extends ElementUIComponent {
  /** A key of `model` of the enclosing `el-form` component */
  prop: string
 
  /** Label */
  label: string
 
  /** Width of label, e.g. '50px' */
  labelWidth: string
 
  /** Whether the field is required or not, will be determined by validation rules if omitted */
  required: boolean
 
  /** Validation rules of form */
  rules: object
 
  /** Field error message, set its value and the field will validate error and show this message immediately */
  error: string
 
  /** Whether to show the error message */
  showMessage: boolean
 
  /** Whether to display the error message inline with the form item */
  inlineMessage: boolean
 
  /** Controls the size of components in this form */
  size: ElementUIComponentSize
 
  /** Reset current field and remove validation result */
  resetField (): void
 
  /** Remove validation status of the field */
  clearValidate (): void
}