diff --git a/components/enter-animation/demo/enter-leave.md b/components/enter-animation/demo/enter-leave.md index c68392146b..f28539388e 100644 --- a/components/enter-animation/demo/enter-leave.md +++ b/components/enter-animation/demo/enter-leave.md @@ -27,12 +27,12 @@ var Test = React.createClass({ console.log('leave'); } }, - bool:true, + show:true, } }, onClick() { this.setState({ - bool:!this.state.bool, + show:!this.state.show, }) }, @@ -43,7 +43,7 @@ var Test = React.createClass({ - {this.state.bool ?
+ {this.state.show ?