周期次数等于绑定数

This commit is contained in:
zhangguoping 2024-10-31 17:12:05 +08:00
parent 0fe79c1fd4
commit 6a1520b9c5
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ export default class acclist extends React.Component {
return false return false
} }
for (let i = 0; i < this.state.distdata.length; i++) { 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(`兑换码绑定数必须等于周期次数`) return Notify.error(`兑换码绑定数必须等于周期次数`)
} }
} }