baiyaaaaa 7 yıl önce
ebeveyn
işleme
a7998da10c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      types/form.d.ts

+ 1 - 1
types/form.d.ts

@@ -57,7 +57,7 @@ export declare class ElForm extends ElementUIComponent {
    *
    * @param callback A callback to tell the validation result
    */
-  validate (callback?: ValidateCallback): void
+  validate (callback?: ValidateCallback): any
 
   /**
    * Validate a certain form item