调试
This commit is contained in:
@@ -143,7 +143,8 @@ export class FlightsDataHandle {
|
||||
flights_item['renderFlight'] = Object.assign({}, render_flight);
|
||||
}
|
||||
} catch (error) {
|
||||
alert('数据有误,处理失败,请检查数据');
|
||||
console.log('数据有误,处理失败,请检查数据');
|
||||
console.log(item);
|
||||
throw error;
|
||||
} finally {
|
||||
return flights_item;
|
||||
@@ -250,7 +251,8 @@ export class FlightsDataHandle {
|
||||
item['renderReaFlight']['FLTY'] = flightTypes.find(val => val.flightTypeCode === item['renderReaFlight']['FLTY']).flightTypeNameCn;
|
||||
}
|
||||
} catch (error) {
|
||||
alert('数据有误,处理失败,请检查数据');
|
||||
console.log('基础数据转换有误,处理失败,请检查数据');
|
||||
console.log(item);
|
||||
throw error;
|
||||
} finally {
|
||||
return item;
|
||||
@@ -633,7 +635,7 @@ export class FlightsDataHandle {
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
alert('航班号为:' + message.FLNO + ' - 消息有误,处理失败,请检查消息数据');
|
||||
console.log('航班号为:' + message.FLNO + ' - 消息有误,处理失败,请检查消息数据');
|
||||
throw error;
|
||||
} finally {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user