💪 optimize: 优化微信立减金打开方式
This commit is contained in:
parent
805a1cc2b4
commit
97958076e1
|
@ -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 {
|
||||||
|
|
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue