Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zsjjs/react-field-mapping into v1…
Browse files Browse the repository at this point in the history
….1.2
  • Loading branch information
yanjun.zsj committed Apr 23, 2020
2 parents 45b77e4 + c5dbd67 commit 8f81849
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### View the <a href="https://codepen.io/godIsMe/pen/xvgYdx">Demo</a> and its <a href="https://github.com/zsjjs/react-field-mapping/blob/master/example/test.js">source</a> for more.

使用中需要注意的一点是relation,是由组件内部控制的,所以是不受控的,连线后组件内部relation改变,连线也是组件内部控制。但是外部传入的relation是可以改变内部的relation,在组件内会监听传入的relation,可以在onChange的时候改变传入的relation,来达到受控的效果,如果onChange的时候不改变传入的relation,那么relation就是defaultRelation的效果。

### API

Expand Down

0 comments on commit 8f81849

Please sign in to comment.