From 6a1520b9c5cc8ccc879c2e1b6c5826abab863737 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Thu, 31 Oct 2024 17:12:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E6=9C=9F=E6=AC=A1=E6=95=B0=E7=AD=89?= =?UTF-8?q?=E4=BA=8E=E7=BB=91=E5=AE=9A=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/add/step2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/plan/add/step2.js b/src/pages/plan/add/step2.js index 091a6c16..11d5c11b 100644 --- a/src/pages/plan/add/step2.js +++ b/src/pages/plan/add/step2.js @@ -294,7 +294,7 @@ export default class acclist extends React.Component { return false } for (let i = 0; i < this.state.distdata.length; i++) { - if(this.state.exchangeType == 1 && String(this.state.distdata[i].period_type) != '1' && this.state.distdata[i].period_num != this.state.distdata[i].restrict){ + if(this.state.distdata[i].recharge_type == 1 && String(this.state.distdata[i].period_type) != '1' && this.state.distdata[i].period_num != this.state.distdata[i].restrict){ return Notify.error(`兑换码绑定数必须等于周期次数`) } }