# 基本 - order: 0 使用很简单。 --- ````jsx var Modal = antd.Modal; var Test = React.createClass({ getInitialState(){ return { visible:false }; }, showModal(){ this.setState({ visible:true }); }, handleOk(){ alert('ok'); var self = this; setTimeout(function(){ self.setState({ visible:false }); },200); }, handleCancel(){ var self = this; alert('cancel'); setTimeout(function(){ self.setState({ visible:false }); },200); }, render(){ return
对话框的内容