Update step1.js

This commit is contained in:
北海一刀 2021-11-10 16:13:05 +08:00
parent 82144187a8
commit 83e35aba5d
1 changed files with 13 additions and 1 deletions

View File

@ -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>
)
}