Commit 19710302 authored by youjie's avatar youjie

修复bug

parent 06e2c5fb
...@@ -192,8 +192,8 @@ export default { ...@@ -192,8 +192,8 @@ export default {
let length = this.parameters.searchroomGroup[index].ChildAgeTexts.length let length = this.parameters.searchroomGroup[index].ChildAgeTexts.length
if(length==0){ if(length==0){
this.parameters.searchroomGroup[index].ChildAgeDetails = null this.parameters.searchroomGroup[index].ChildAgeDetails = null
} else if(length==1){ }else{
this.parameters.searchroomGroup[index].ChildAgeDetails = this.parameters.searchroomGroup[index].ChildAgeTexts[0] this.parameters.searchroomGroup[index].ChildAgeDetails = this.parameters.searchroomGroup[index].ChildAgeTexts[length-1]
} }
} }
} }
......
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