修正落地页类型枚举

This commit is contained in:
red-deng-deng 2022-01-14 14:50:24 +08:00
parent aad48adcaf
commit e2dd4565ae
2 changed files with 6 additions and 6 deletions

View File

@ -97,9 +97,9 @@ const menu={
//落地页
pageTypeStatus(params) {
switch(params){
case 1:return '兑换码';break;
case 2:return '白名单';break;
case 3:return '立减金';break;
case 3:return '兑换码';break;
case 1:return '白名单';break;
case 2:return '立减金';break;
}
},
pageTypeStatusBg(params) {

View File

@ -501,9 +501,9 @@ getLandingdata(val){
<div id="leftComponent">
<div className="showTypechice">
<RadioGroup onChange={(e)=>{this.onmodelChange(e)} } value={this.state.showType} >
<RadioButton value={1} disabled={this.state.pagedisable}>兑换码</RadioButton>
<RadioButton value={2} disabled={this.state.pagedisable}>白名单</RadioButton>
<RadioButton disabled={true} value={3}>立减金</RadioButton>
<RadioButton value={3} disabled={this.state.pagedisable}>兑换码</RadioButton>
<RadioButton value={1} disabled={this.state.pagedisable}>白名单</RadioButton>
<RadioButton disabled={true} value={2}>立减金</RadioButton>
</RadioGroup>
</div>
{/* 兑换码 */}