💪 optimize: 优化微信立减金打开方式

This commit is contained in:
wangsongsole 2024-03-05 10:55:38 +08:00
parent 805a1cc2b4
commit 97958076e1
3 changed files with 3 additions and 1 deletions

View File

@ -420,7 +420,7 @@ const Combining = forwardRef((props, ref) => {
<RadioGroup <RadioGroup
disabled={!!state.tableData.length && state.keyPcType !== 2} disabled={!!state.tableData.length && state.keyPcType !== 2}
onChange={({ target }) => { onChange={({ target }) => {
setInfo({ channel: target.value }) setInfo({ channel: target.value, is_webview: 0 })
if (target.value === "3") { if (target.value === "3") {
setInfo({ receive_mode: 2 }) setInfo({ receive_mode: 2 })
} else { } else {

View File

@ -808,6 +808,7 @@ export default class addKnockGold extends Component {
disabled={!!this.props.data?.id || !!this.props.combining} disabled={!!this.props.data?.id || !!this.props.combining}
onChange={({ target }) => { onChange={({ target }) => {
this.onHandleChangeChannel(target.value) this.onHandleChangeChannel(target.value)
this.onHandleChange(0, "is_webview")
}} }}
value={this.state.model.channel} value={this.state.model.channel}
> >

View File

@ -1051,6 +1051,7 @@ export default class combiningAdd extends React.Component {
this.setState({ tempdata: [], tempdata: [], rankoptions: [], rank: [] }) this.setState({ tempdata: [], tempdata: [], rankoptions: [], rank: [] })
sessionStorage.setItem("knockGoldData", JSON.stringify([])) sessionStorage.setItem("knockGoldData", JSON.stringify([]))
} }
this.handleChange(0, "is_webview")
}} }}
value={this.state.codeInfo.channel} value={this.state.codeInfo.channel}
> >