baiyaaaaa 7 年 前
コミット
a7998da10c
1 ファイル変更1 行追加1 行削除
  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