Commit 35cc1e92 authored by youjie's avatar youjie

no message

parent 551cdbde
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
if(h && h.length>0){ if(h && h.length>0){
let g = this.groupBy(h,(x)=>{return x.star}) let g = this.groupBy(h,(x)=>{return x.star})
g.forEach(x=>{ g.forEach(x=>{
this.hotel+=`${x.data.length}晚${this.stars[parseInt(x.key)-1]};` this.hotel+=`${x.data.length}晚${this.stars[parseInt(x.key)-1]?this.stars[parseInt(x.key)-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