Update step1.js
This commit is contained in:
parent
82144187a8
commit
83e35aba5d
|
@ -13,7 +13,7 @@ export default class acclist extends React.Component{
|
|||
super(props)
|
||||
this.state={
|
||||
combinedValue:null,
|
||||
model:{
|
||||
model:{ //数据模型不可少
|
||||
name:"",
|
||||
type:"",
|
||||
reseller:"",
|
||||
|
@ -31,6 +31,7 @@ export default class acclist extends React.Component{
|
|||
}
|
||||
|
||||
render(){
|
||||
//校验规则
|
||||
const rules = {
|
||||
name: [
|
||||
{ type: "required", message: "请输入变更主题"},
|
||||
|
@ -115,6 +116,17 @@ export default class acclist extends React.Component{
|
|||
/>
|
||||
</FormItem>
|
||||
</Form>
|
||||
<div className="step-btn-group">
|
||||
<div className="btn-group">
|
||||
<Button type="primary" htmlType="submit" onClick={()=>{this.submit()}}>
|
||||
提交
|
||||
</Button>
|
||||
<Button type="normal" htmlType="reset" >
|
||||
取消
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue