From d3d0b0995bff012a44b47c057fb8f52eaf71696a Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 30 Nov 2023 18:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/knockGold/index.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index b6bae298..8cffc316 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -774,12 +774,10 @@ export default class addKnockGold extends Component { if (target.value != 1) { this.onHandleChange(1, "receive_mode") } - if (target.value == 2) { this.onHandleChange("voucher_wechat_lsxd", "provider") } - - if (target.value == 1) { + if ([1, 3].includes(target.value)) { this.onHandleChange("lsxd", "provider") } }}