💊 fix: 修复立减金渠道切换时 主体展示异常问题

This commit is contained in:
wangsongsole 2023-10-09 17:58:42 +08:00
parent 50c7fa48e6
commit a79996875f
1 changed files with 2 additions and 0 deletions

View File

@ -752,10 +752,12 @@ export default class addKnockGold extends Component {
onChange={({ target }) => { onChange={({ target }) => {
this.onHandleChange(target.value, "channel") this.onHandleChange(target.value, "channel")
if (target.value == 1) { if (target.value == 1) {
this.onHandleChange("voucher_wechat_lsxd", "provider")
this.onHandleChange(defaultInstructionZfb, "instruction") this.onHandleChange(defaultInstructionZfb, "instruction")
} else if (target.value == 2) { } else if (target.value == 2) {
this.onHandleChange(defaultInstructionWx, "instruction") this.onHandleChange(defaultInstructionWx, "instruction")
} else { } else {
this.onHandleChange("voucher_wechat_lsxd", "provider")
this.onHandleChange("", "instruction") this.onHandleChange("", "instruction")
} }
}} }}