Commit db1d5468 by zhangzhen

细节优化

parent 7448ce9f
...@@ -1361,9 +1361,9 @@ ...@@ -1361,9 +1361,9 @@
roomLabelId :this.modeIndex >= 0 ? this.roomLabelList[this.modeIndex].id : '', roomLabelId :this.modeIndex >= 0 ? this.roomLabelList[this.modeIndex].id : '',
} }
if(this.radioChecked == "secondaryCard"){ if(this.radioChecked == "secondaryCard" && this.secondaryCardList.length){
params.secondaryCardId = this.secondaryCardList[0].id params.secondaryCardId = this.secondaryCardList[0].id
}else if(this.radioChecked == "monthlyCard"){ }else if(this.radioChecked == "monthlyCard" && this.monthlyCardList.length){
params.monthlyCardId = this.monthlyCardList[0].id params.monthlyCardId = this.monthlyCardList[0].id
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment