From 97958076e11d2eec739489cf735f464af99c7a52 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 5 Mar 2024 10:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AA=20optimize:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E7=AB=8B=E5=87=8F=E9=87=91=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/combining/index.jsx | 2 +- src/components/knockGold/index.jsx | 1 + src/pages/exchangecode/combiningAdd/index.jsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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} >