# 表单动画进场 - order: 2 表单组全合的进场与出场动画。 --- ````jsx var EnterAnimation = antd.EnterAnimation; var Select = antd.Select; var Option = Select.Option; var Checkbox = antd.Checkbox; var Radio = antd.Radio; var RadioGroup = antd.RadioGroup; var Test = React.createClass({ getInitialState(){ return { direction:'enter', upend:false, type:'right', interval:0.1, callback:null } }, onEnter(){ this.setState({ direction:'enter', upend:false, type:'right', callback:null }) }, onLeave(){ this.setState({ direction:'leave', upend:true, type:'bottom', callback:function (){ console.log('出场结束'); } }) }, render() { return (