@@ -122,8 +122,10 @@ export default {
let da = res.data.data.seats
for (let it of da) {
let pa = {}
- for (let p of this.SeatInfo.areaPrice) {
- pa[p.area] = p.showPrice
+ if(this.SeatInfo.areaPrice){
+ for (let p of this.SeatInfo.areaPrice) {
+ pa[p.area] = p.showPrice
+ }
}
// let xy = it.seatNo.replace(/[^0-9]/ig, ",").split(",");