diff --git a/components/form/index.jsx b/components/form/index.jsx index 07ea84244..a9a45f740 100644 --- a/components/form/index.jsx +++ b/components/form/index.jsx @@ -1,4 +1,8 @@ +import Vue from 'vue' import Form from './Form' +import antRefDirective from '../_util/antRefDirective' + +Vue.use(antRefDirective) export { FormProps, FormComponentProps, FormCreateOption, ValidateCallback, ValidationRule } from './Form' export { FormItemProps } from './FormItem'