Update step2.js

This commit is contained in:
姜棚 2022-01-22 18:11:21 +08:00
parent 8dc11c1311
commit f34a0f8efc
1 changed files with 3 additions and 3 deletions

View File

@ -942,9 +942,9 @@ export default class acclist extends React.Component{
<Form model={this.state.model} rules={rules} ref="form1"> <Form model={this.state.model} rules={rules} ref="form1">
<FormItem labelname=" key样式" prop="style" id="style"> <FormItem labelname=" key样式" prop="style" id="style">
<RadioGroup onChange={(e)=>{ this.onStyleChange(e)} } value={this.state.model.style}> <RadioGroup onChange={(e)=>{ this.onStyleChange(e)} } value={this.state.model.style}>
<RadioButton value={1} disabled={this.props.name > 0 && this.state.model.style !=1} >串码</RadioButton> <RadioButton value={1} disabled={this.props.name > 0 && this.state.model.style ==6} >串码</RadioButton>
<RadioButton value={2} disabled={this.props.name > 0 && this.state.model.style !=2} >链接</RadioButton> <RadioButton value={2} disabled={this.props.name > 0 && this.state.model.style ==6} >链接</RadioButton>
<RadioButton value={4} disabled={this.props.name > 0 && this.state.model.style !=4} >二维码</RadioButton> <RadioButton value={4} disabled={this.props.name > 0 && this.state.model.style ==6} >二维码</RadioButton>
<RadioButton value={6} disabled={this.props.name > 0 && this.state.model.style !=6} >白名单</RadioButton> <RadioButton value={6} disabled={this.props.name > 0 && this.state.model.style !=6} >白名单</RadioButton>
</RadioGroup> </RadioGroup>
</FormItem> </FormItem>