Commit 8a1d0b67 authored by youjie's avatar youjie

no message

parent 4e381870
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
} }
}, },
formatTraffic() { formatTraffic() {
if(data.trip&&data.trip.trafficList&&data.trip.trafficList.length>0&&data.trip.trafficList[0].subTraffic&&data.trip.trafficList[0].subTraffic.length>0){
let z = data.trip.trafficList[0].subTraffic[0] let z = data.trip.trafficList[0].subTraffic[0]
if (z&&z.arrivalType == 1) { if (z&&z.arrivalType == 1) {
data.traffic = t('v103.scheduledTripDetails.smaple.d7'); data.traffic = t('v103.scheduledTripDetails.smaple.d7');
...@@ -118,6 +119,7 @@ ...@@ -118,6 +119,7 @@
} else { } else {
data.traffic = t('v103.scheduledTripDetails.smaple.d10'); data.traffic = t('v103.scheduledTripDetails.smaple.d10');
} }
}
}, },
formatHotel(){ formatHotel(){
let h = [] let h = []
......
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