Skip to content

Commit

Permalink
fix: 修复 form 表单 createForm Api 误写问题 (#806)
Browse files Browse the repository at this point in the history
Co-authored-by: xuming <xuming.cx@antgroup.com>
  • Loading branch information
SanGuiChen and xuming authored Aug 8, 2023
1 parent 0977a7e commit 6a48a49
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Form/index.md
Original file line number Diff line number Diff line change
@@ -283,14 +283,14 @@ type ValidatorStatus = {
### FormImageUpload
同 ImageUpload

### createform
### createForm

createform是一个mixin,在自定义表单项使用
createForm是一个mixin,在自定义表单项使用
```js
import { createform } from 'antd-mini/es/Form/form';
import { createForm } from 'antd-mini/es/Form/form';

Component({
mixins: [createform()],
mixins: [createForm()],
methods: {
onChange(value) {
this.emit('onChange', value);
@@ -299,7 +299,7 @@ Component({
})
```

createform会在Component加上
createForm会在Component加上
- data
```js
{

0 comments on commit 6a48a49

Please sign in to comment.