♻️ refactor: 禁用红包组件选择微信渠道
This commit is contained in:
parent
9a0162fe84
commit
d94e125bea
|
@ -516,7 +516,7 @@ export default class addKnockGold extends Component {
|
|||
<Form model={this.state.model} rules={rules.basic} ref="form">
|
||||
<FormItem labelname="渠道平台" prop="channel" id="type">
|
||||
<RadioGroup
|
||||
disabled={this.state.isEdit || true}
|
||||
disabled={this.state.isEdit}
|
||||
onChange={({ target }) => {
|
||||
this.onHandleChange(target.value, "channel")
|
||||
// if (target.value == 1) {
|
||||
|
@ -528,7 +528,9 @@ export default class addKnockGold extends Component {
|
|||
value={this.state.model.channel}
|
||||
>
|
||||
<RadioButton value={1}>支付宝</RadioButton>
|
||||
<RadioButton value={2}>微信</RadioButton>
|
||||
<RadioButton disabled value={2}>
|
||||
微信
|
||||
</RadioButton>
|
||||
</RadioGroup>
|
||||
</FormItem>
|
||||
<FormItem labelname="红包类型" prop="cash_amount_type" id="type">
|
||||
|
|
Loading…
Reference in New Issue