取消选择落地页

This commit is contained in:
姜棚 2022-01-21 14:30:00 +08:00
parent 9cebd8c368
commit 88ef1a966b
1 changed files with 1 additions and 13 deletions

View File

@ -18,7 +18,6 @@ export default class acclist extends React.Component{
this.state={
model:{ //数据模型不可少
"theme_id":"",
"list": 2,
"use": 1,
"link": 3,
},
@ -72,7 +71,6 @@ export default class acclist extends React.Component{
{
data = {}
data.theme_id = this.state.model.theme_id.key
data.list = this.state.model.list
data.use = this.state.model.use;
data.link=this.state.model.link;
}
@ -119,7 +117,6 @@ export default class acclist extends React.Component{
{
let model={ //数据模型不可少
"theme_id":192 ,
"list": data.list,
"use": data.use,
"link": data.link
}
@ -136,9 +133,6 @@ export default class acclist extends React.Component{
{ type: "required", message: "请选择落地页"},
],
}
return(
<div id="step3">
<Form model={this.state.model} rules={rules} ref="form1">
@ -162,13 +156,7 @@ export default class acclist extends React.Component{
<RadioButton value={1}>链接</RadioButton>
</RadioGroup>
</FormItem>
<FormItem labelname="选择商品列表样式" prop="list">
<RadioGroup onChange={(e)=>{this.onListChange(e)} } value={this.state.model.list}>
<RadioButton value={1}>列表</RadioButton>
<RadioButton value={2}>轮播</RadioButton>
<RadioButton value={3}>矩阵</RadioButton>
</RadioGroup>
</FormItem>
<FormItem labelname="域名选择" prop="link">
<RadioGroup onChange={(e)=>{this.onUserChange(e)} } value={this.state.model.link}>
<RadioButton value={1} >大客户</RadioButton>