diff --git a/src/components/combining/index.jsx b/src/components/combining/index.jsx index 367600ca..b0d1f09c 100644 --- a/src/components/combining/index.jsx +++ b/src/components/combining/index.jsx @@ -420,7 +420,7 @@ const Combining = forwardRef((props, ref) => { { - setInfo({ channel: target.value }) + setInfo({ channel: target.value, is_webview: 0 }) if (target.value === "3") { setInfo({ receive_mode: 2 }) } else { diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 7da82b4a..f9a6a51e 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -808,6 +808,7 @@ export default class addKnockGold extends Component { disabled={!!this.props.data?.id || !!this.props.combining} onChange={({ target }) => { this.onHandleChangeChannel(target.value) + this.onHandleChange(0, "is_webview") }} value={this.state.model.channel} > diff --git a/src/pages/exchangecode/combiningAdd/index.jsx b/src/pages/exchangecode/combiningAdd/index.jsx index 3bd94ede..45adf9eb 100644 --- a/src/pages/exchangecode/combiningAdd/index.jsx +++ b/src/pages/exchangecode/combiningAdd/index.jsx @@ -1051,6 +1051,7 @@ export default class combiningAdd extends React.Component { this.setState({ tempdata: [], tempdata: [], rankoptions: [], rank: [] }) sessionStorage.setItem("knockGoldData", JSON.stringify([])) } + this.handleChange(0, "is_webview") }} value={this.state.codeInfo.channel} >