From 8f46242cbcc0990a3e2e78032bd741daae078f75 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 5 Mar 2024 17:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=80=EF=B8=8F=20fix:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=BA=BF=E4=B8=8Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/combining/index.jsx | 4 ++++ src/pages/exchangecode/combiningAdd/index.jsx | 1 + 2 files changed, 5 insertions(+) diff --git a/src/components/combining/index.jsx b/src/components/combining/index.jsx index 72ce3b05..23038353 100644 --- a/src/components/combining/index.jsx +++ b/src/components/combining/index.jsx @@ -181,6 +181,9 @@ const Combining = forwardRef((props, ref) => { obj.origin = obj.only obj.send_num = item.send_num obj.checked = true + if (state.keyPcType == 2) { + delete item.id + } return obj }) @@ -452,6 +455,7 @@ const Combining = forwardRef((props, ref) => { setInfo({ receive_mode: target.value }) if (state.keyPcType === 2) { setState({ rankOptions: [], rank: [], tableData: [] }) + sessionStorage.setItem("knockGoldData", JSON.stringify([])) } }} value={info.receive_mode} diff --git a/src/pages/exchangecode/combiningAdd/index.jsx b/src/pages/exchangecode/combiningAdd/index.jsx index afe28559..ddcda207 100644 --- a/src/pages/exchangecode/combiningAdd/index.jsx +++ b/src/pages/exchangecode/combiningAdd/index.jsx @@ -1066,6 +1066,7 @@ export default class combiningAdd extends React.Component { this.handleChange(target.value, "receive_mode") if (this.state.isState === 1) { this.setState({ tempdata: [], rankoptions: [], rank: [] }) + sessionStorage.setItem("knockGoldData", JSON.stringify([])) } }} value={this.state.codeInfo.receive_mode}