Skip to content

Commit 26ec36e

Browse files
committed
fix: form ant-ref directive bug(#20)
1 parent 9646926 commit 26ec36e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/form/index.jsx

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
import Vue from 'vue'
12
import Form from './Form'
3+
import antRefDirective from '../_util/antRefDirective'
4+
5+
Vue.use(antRefDirective)
26

37
export { FormProps, FormComponentProps, FormCreateOption, ValidateCallback, ValidationRule } from './Form'
48
export { FormItemProps } from './FormItem'

0 commit comments

Comments
 (0)