Skip to content

Commit 9880409

Browse files
committed
Merge branch 'hotfix/docs-fix'
2 parents 496c17e + 7a82480 commit 9880409

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
**vue-dynamic-form-component** is a dynamic form component base on [element-ui](https://element.faas.ele.me/#/zh-CN) and [async-validator](https://github.com/yiminghe/async-validator). You just need to write **descriptors**(reference to [async-validator](https://github.com/yiminghe/async-validator)) of the data you want, **vue-dynamic-form-component** will generate the form automatically.
44

5-
## Usage
5+
## Docs
6+
7+
- [English Docs](http://vue-dynamic-form.quincychen.cn)
8+
- [中文文档](http://vue-dynamic-form.quincychen.cn/zh/)
9+
10+
## Usage Example
11+
12+
![vue-dynamic-form-component.gif](https://raw.githubusercontent.com/chenquincy/vue-dynamic-form-component/master/public/vue-dynamic-form-component.gif)
613

714
``` vue
815
<template>
@@ -62,20 +69,13 @@ export default {
6269
this.$refs['dynamic-form'].resetFields()
6370
},
6471
validate () {
65-
this.$refs['dynamic-form'].validate()
72+
this.$refs['dynamic-form'].validate()
6673
}
6774
}
6875
}
6976
</script>
7077
```
7178

72-
![vue-dynamic-form-component.gif](https://raw.githubusercontent.com/chenquincy/vue-dynamic-form-component/master/public/vue-dynamic-form-component.gif)
73-
74-
## Docs
75-
76-
- [English Docs](http://vue-dynamic-form.quincychen.cn)
77-
- [中文文档](http://vue-dynamic-form.quincychen.cn/zh/)
78-
7979
## Features
8080

8181
- Generate form from **descriptors**

0 commit comments

Comments
 (0)