Skip to content

Commit

Permalink
update children demo state value
Browse files Browse the repository at this point in the history
  • Loading branch information
jljsj33 committed Sep 20, 2018
1 parent 782ad0a commit 8b4267b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tween-one/demo/children.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Demo extends React.Component {
constructor(props) {
super(props);
this.state = {
value: 0,
value: 10000,
animation: null,
formatMoney: false,
};
Expand Down Expand Up @@ -69,7 +69,7 @@ class Demo extends React.Component {
0
</TweenOne>
<InputNumber
defaultValue={this.state.value || 10000}
defaultValue={this.state.value}
onChange={this.onChange}
/>
<Checkbox style={{ margin: '0 16px' }} onChange={this.onChangeMoney}> to money</Checkbox>
Expand Down

0 comments on commit 8b4267b

Please sign in to comment.